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

CharLiteral Class

Represents a character literal.

Syntax

public class CharLiteral : Literal

Remarks

It is usually one of the Unicode characters.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
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

Members

See Also: Inherited members from Literal.

Public Constructors

Constructs a new CharLiteral.
This parameter is useless in this case.

Public Fields

CharVal char . The vaue of the character literal.
Conv bool . Holds a flag indicating whether a conversion is to be made or not. (Inherited from Literal.)
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.)
OrdOp string . Indicates the order in which the unary operators get applied in.
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.)

Member Details

CharLiteral Constructor

Constructs a new CharLiteral.

Syntax

public CharLiteral ()

Remarks

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
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

CharLiteral Constructor

This parameter is useless in this case.

Syntax

public CharLiteral (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.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

CharVal Field

The vaue of the character literal.

Syntax

public char CharVal

Remarks

This value is loaded by the ldc.i4 set of opcodes with the number corresponding to the character as its operand.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
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

OrdOp Field

Indicates the order in which the unary operators get applied in.

Syntax

public string OrdOp

Remarks

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
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