Represents the 'null' keyword in the form of a literal of type object.
See Also: Inherited members from Literal.
|
NullLiteral
()
|
Constructs a new NullLiteral. |
|
Constructs a new NullLiteral. |
|
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.) |
|
NullVal | object . Holds a null reference. |
|
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 NullLiteral.
Syntax
public NullLiteral ()Remarks
Also sets LitTyp to an ObjectTok instance.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 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, 11.2.9.4, 11.2.9.5, 11.2.9.6
Constructs a new NullLiteral.
Syntax
public NullLiteral (string value)Parameters
- value
- The value to give to the 'Value' field which in this case is not useful.
Remarks
Also sets LitTyp to an ObjectTok instance.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 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, 11.2.9.4, 11.2.9.5, 11.2.9.6
Holds a null reference.
Syntax
public object NullValRemarks
The code generator will not use this null reference. Instead it will load one using the 'ldnull' opcode.Requirements
Namespace: dylan.NET.Tokenizer.AST.Tokens.Literals
Assembly: tokenizer.AST (in tokenizer.AST.dll)
Assembly Versions: 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, 11.2.9.4, 11.2.9.5, 11.2.9.6
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. "null".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, 11.2.9.4, 11.2.9.5, 11.2.9.6