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

Op Class

Represents a dylan.NET operator.

Syntax

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

Remarks

All operators must in some way inherit from this class.

Requirements

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

Op ()
Constructs an Op.

Public Fields

LChild Token . In an AST made by the codegen module this holds the Left Child this Op operates on.
Line int . The Line where this Token was found. (Inherited from Token.)
PrecNo int . This is the order of precedence number used during RPN expression making.
RChild Token . In an AST made by the codegen module this holds the Right Child this Op operates on.
Value string . The textual value of the Token. (Inherited from Token.)

Member Details

Op Constructor

Constructs an Op.

Syntax

public Op ()

Remarks

Normally one would not want to construct an Op but one of its subclasses. This class is only useful for Op detection in general.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Ops
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4

LChild Field

In an AST made by the codegen module this holds the Left Child this Op operates on.

Syntax

Remarks

This field is set automatically by the ConvToAST method of codegen.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Ops
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4

PrecNo Field

This is the order of precedence number used during RPN expression making.

Syntax

public int PrecNo

Remarks

Each class sets this field as it gets initialised. Do not mess with this or else RPN components may work incorrectly. The numbers are assigned according to the C language order of precedence.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Ops
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4

RChild Field

In an AST made by the codegen module this holds the Right Child this Op operates on.

Syntax

Remarks

This field is set automatically by the ConvToAST method of codegen.

Requirements

Namespace: dylan.NET.Tokenizer.AST.Tokens.Ops
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.7.2, 11.2.7.3, 11.2.7.4