This is the Token class which is the basis for all of the dylan.NET AST.
Constructs a Token.
Syntax
public Token ()Remarks
To just initialise a new Token with a particular value use the other construuctor.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4, 11.2.7.5, 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1
Constructs a Token given its Value.
Syntax
public Token (string value)Parameters
- value
- The textual value of the Token to initialise.
Remarks
If the Value is not known at construct time please use the above cosntructor and set the Value field manually.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4, 11.2.7.5, 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1
The Line where this Token was found.
Syntax
public int LineRemarks
This is important for debug info emission.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4, 11.2.7.5, 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1
The textual value of the Token.
Syntax
public string ValueRemarks
From this the Parser module can further optimize the Token into other subclasses.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4, 11.2.7.5, 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1