tokenizer.AST : dylan.NET.Tokenizer.AST.Tokens.TypeToks Namespace

TypeTok Class

Represents a type token that is usable to assign a type to something.

Syntax

public class TypeTok : dylan.NET.Tokenizer.AST.Tokens.Token

Remarks

All type tokens should directly or indirectly inherit from this class.

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

Members

See Also: Inherited members from dylan.NET.Tokenizer.AST.Tokens.Token.

Public Constructors

Constructs a new TypeToken.
Constructs a new TypeTok assigning the type name's value as specified in the value parameter.

Public Fields

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.)

Member Details

TypeTok Constructor

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

TypeTok Constructor

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

IsArray Field

If set to true indicates that an array type is desired.

Syntax

public bool IsArray

Remarks

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

IsByRef Field

If set to true indicates that a byref type is desired.

Syntax

public bool IsByRef

Remarks

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

OrdOp Field

Documentation for this section has not yet been entered.

Syntax

public string OrdOp

Remarks

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

RefTyp Field

Holds the System.Type instance representing the required type. This is set automatically is the standard type tokens are used.

Syntax

public Type RefTyp

Remarks

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