Represents a type token that is usable to assign a type to something.
See Also: Inherited members from dylan.NET.Tokenizer.AST.Tokens.Token.
|
IsArray | bool . If set to true indicates that an array type is desired. |
|
IsByRef | bool . If set to true indicates that a byref type is desired. |
|
Line | int . The Line where this Token was found. (Inherited from Token.) |
|
OrdOp | string . Documentation for this section has not yet been entered. |
|
RefTyp | Type . Holds the System.Type instance representing the required type. This is set automatically is the standard type tokens are used. |
|
Value | string . The textual value of the Token. (Inherited from Token.) |
Constructs a new TypeToken.
Syntax
public TypeTok ()Remarks
If you want to pass the type name during cosntruction use the other constructor.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.TypeToks
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4
Constructs a new TypeTok assigning the type name's value as specified in the value parameter.
Syntax
public TypeTok (string value)Parameters
- value
- A valid type name that is reachable given the defined lists of assemblies and namespaces to import.
Remarks
If you wish to set the type name later use the other constructor and set the 'Value' field acccordingly.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.TypeToks
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4
If set to true indicates that an array type is desired.
Syntax
public bool IsArrayRemarks
Usually this field gets set true by the parser after finding '[]' after the type name.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.TypeToks
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4
If set to true indicates that a byref type is desired.
Syntax
public bool IsByRefRemarks
Normally this field gets set true by the parser after finding '&' after the type name.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.TypeToks
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4
Documentation for this section has not yet been entered.
Syntax
public string OrdOpRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.TypeToks
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4
Holds the System.Type instance representing the required type. This is set automatically is the standard type tokens are used.
Syntax
public Type RefTypRemarks
Make sure not to set this manually. Let the constructors of the standard type tokens or the parser/codegen infer its value instead.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.TypeToks
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4