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

ConstLiteral Class

Represents a Literal/Constant field's value.

Syntax

public class ConstLiteral : Literal

Remarks

The values of the fields in instances of this class are found using reflection.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1, 11.2.8.2, 11.2.8.3, 11.2.8.4, 11.2.8.5, 11.2.8.6, 11.2.8.7, 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3

Members

See Also: Inherited members from Literal.

Public Constructors

Constructs a new ConstLiteral.
Documentation for this section has not yet been entered.
This parameter is of no use in this case.

Public Fields

ConstVal object . The value of the Literal/Constant field as given by the reflection infrastructure.
Conv bool . Holds a flag indicating whether a conversion is to be made or not. (Inherited from Literal.)
ExtTyp Type . The type of the constant as it should appear in method parameter lists etc.
IntTyp Type . The actual type of the value which is used for the transformation of this class instance into a suitable literal loadable by the EmitLiteral method in the Helpers class of CodeGen.
Line int . The Line where this Token was found. (Inherited from dylan.NET.Tokenizer.AST.Tokens.Token.)
LitTyp dylan.NET.Tokenizer.AST.Tokens.TypeToks.TypeTok . Holds a TypeTok indicating the type of literal represented. The RefTyp field of the TypeTok is useful during code generation. (Inherited from Literal.)
TTok dylan.NET.Tokenizer.AST.Tokens.TypeToks.TypeTok . Holds a TypeTok indicating the type to convert to. (Inherited from Literal.)
Value string . The textual value of the Token. (Inherited from dylan.NET.Tokenizer.AST.Tokens.Token.)

Public Methods

override
ToString () : string
Outputs the Token in terms of dylan.NET syntax. (Inherited from dylan.NET.Tokenizer.AST.Tokens.Token.)

Member Details

ConstLiteral Constructor

Constructs a new ConstLiteral.

Syntax

public ConstLiteral ()

Remarks

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1, 11.2.8.2, 11.2.8.3, 11.2.8.4, 11.2.8.5, 11.2.8.6, 11.2.8.7, 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3

ConstLiteral Constructor

Documentation for this section has not yet been entered.

Syntax

public ConstLiteral (object value)

Parameters

value
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.9.1, 11.2.9.2, 11.2.9.3

ConstLiteral Constructor

This parameter is of no use in this case.

Syntax

public ConstLiteral (string value)

Parameters

value

Remarks

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1, 11.2.8.2, 11.2.8.3, 11.2.8.4, 11.2.8.5, 11.2.8.6, 11.2.8.7, 11.2.8.9

ConstVal Field

The value of the Literal/Constant field as given by the reflection infrastructure.

Syntax

public object ConstVal

Remarks

This value is post-processed via helper methods in the CodeGen library which ready it for loading.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1, 11.2.8.2, 11.2.8.3, 11.2.8.4, 11.2.8.5, 11.2.8.6, 11.2.8.7, 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3

ExtTyp Field

The type of the constant as it should appear in method parameter lists etc.

Syntax

public Type ExtTyp

Remarks

In the case of enum entries this is the enum's name. In cases of standalone constant fields this is the same as IntTyp.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1, 11.2.8.2, 11.2.8.3, 11.2.8.4, 11.2.8.5, 11.2.8.6, 11.2.8.7, 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3

IntTyp Field

The actual type of the value which is used for the transformation of this class instance into a suitable literal loadable by the EmitLiteral method in the Helpers class of CodeGen.

Syntax

public Type IntTyp

Remarks

In the case of an enum member this is the enum's underlying type otherwise it is the reported field constant type.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.6, 11.2.7.7, 11.2.7.8, 11.2.7.9, 11.2.8.1, 11.2.8.2, 11.2.8.3, 11.2.8.4, 11.2.8.5, 11.2.8.6, 11.2.8.7, 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3