Represents a boolean literal.
See Also: Inherited members from Literal.
|
Constructs a new BooleanLiteral. | |
|
Constructs a new BooleanLiteral with the given value. | |
|
Cosntructs a new BooleanLiteral. |
|
BoolVal | bool . Holds the value of the literal. |
|
Conv | bool . Holds a flag indicating whether a conversion is to be made or not. (Inherited from Literal.) |
|
DoNot | bool . This flag indicates whether a negation of the vaue is required. |
|
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 . Contains the order in which unary operations are to be done on the 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.) |
override
|
ToString
()Returns the dylan.NET syntax that is parsable into this literal. |
|
override
|
ToString
()Outputs the Token in terms of dylan.NET syntax. (Inherited from dylan.NET.Tokenizer.AST.Tokens.Token.) |
Constructs a new BooleanLiteral.
Syntax
public BooleanLiteral ()Remarks
Also sets the LitTyp field to an instance of BooleanTok.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, 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
Constructs a new BooleanLiteral with the given value.
Syntax
public BooleanLiteral (bool value)Parameters
- value
- The boolean value to assign to the BooleanLiteral.
Remarks
Sets the Value and LitTyp fields accodingly.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3
Cosntructs a new BooleanLiteral.
Syntax
public BooleanLiteral (string value)Parameters
- value
- The value to give the 'Value' field which is useless in this case.
Remarks
Also sets the LitTyp field to an instance of BooleanTok.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, 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
Holds the value of the literal.
Syntax
public bool BoolValRemarks
This value is loaded as the number 1 or 0 for true or false repectively.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, 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
This flag indicates whether a negation of the vaue is required.
Syntax
public bool DoNotRemarks
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, 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
Contains the order in which unary operations are to be done on the literal.
Syntax
public string OrdOpRemarks
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, 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
Returns the dylan.NET syntax that is parsable into this literal.
Syntax
public override string ToString ()Returns
The dylan.NET syntactic equivalent to this literal ie. "true" or "false".Remarks
Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 11.2.8.9, 11.2.9.1, 11.2.9.2, 11.2.9.3