![]() |
Paradox Game Engine
v1.0.0 beta06
|
A field of a struct. More...
Public Member Functions | |
Literal () | |
Initializes a new instance of the Literal class. More... | |
Literal (object value) | |
Initializes a new instance of the Literal class. More... | |
override IEnumerable< Node > | Childrens () |
Gets the child nodes.
| |
override string | ToString () |
bool | Equals (Literal other) |
override bool | Equals (object obj) |
override int | GetHashCode () |
![]() | |
override bool | Equals (object against) |
override int | GetHashCode () |
object | GetTag (object tagKey) |
Gets a tag value associated to this node.. More... | |
bool | RemoveTag (object tagKey) |
Gets a tag value associated to this node.. More... | |
bool | ContainsTag (object tagKey) |
Determines whether the specified instance contains this tag. More... | |
void | SetTag (object tagKey, object tagValue) |
Sets a tag value associated to this node. More... | |
override string | ToString () |
Static Public Member Functions | |
static bool | operator== (Literal left, Literal right) |
Implements the operator ==. More... | |
static bool | operator!= (Literal left, Literal right) |
Implements the operator !=. More... | |
![]() | |
static bool | operator== (Node left, Node right) |
static bool | operator!= (Node left, Node right) |
Properties | |
string | Text [get, set] |
Gets or sets the text. More... | |
object | Value [get, set] |
Gets or sets the value. More... | |
List< Literal > | SubLiterals [get, set] |
Gets or sets the sub literals. More... | |
![]() | |
SourceSpan | Span [get, set] |
Gets or sets the source span. More... | |
List< Node > | ChildrenList [get] |
Gets the childrens. More... | |
Additional Inherited Members | |
![]() | |
Node () | |
Initializes a new instance of the Node class. More... | |
A field of a struct.
Definition at line 13 of file Literal.cs.
SiliconStudio.Shaders.Ast.Literal.Literal | ( | ) |
Initializes a new instance of the Literal class.
Definition at line 23 of file Literal.cs.
SiliconStudio.Shaders.Ast.Literal.Literal | ( | object | value | ) |
Initializes a new instance of the Literal class.
value | The value. |
Definition at line 33 of file Literal.cs.
|
virtual |
Gets the child nodes.
Reimplemented from SiliconStudio.Shaders.Ast.Node.
Definition at line 86 of file Literal.cs.
bool SiliconStudio.Shaders.Ast.Literal.Equals | ( | Literal | other | ) |
Definition at line 126 of file Literal.cs.
override bool SiliconStudio.Shaders.Ast.Literal.Equals | ( | object | obj | ) |
Definition at line 140 of file Literal.cs.
override int SiliconStudio.Shaders.Ast.Literal.GetHashCode | ( | ) |
Definition at line 158 of file Literal.cs.
Referenced by SiliconStudio.Shaders.Ast.LiteralExpression.GetHashCode().
Implements the operator !=.
left | The left. |
right | The right. |
Definition at line 184 of file Literal.cs.
Implements the operator ==.
left | The left. |
right | The right. |
Definition at line 171 of file Literal.cs.
override string SiliconStudio.Shaders.Ast.Literal.ToString | ( | ) |
Definition at line 94 of file Literal.cs.
|
getset |
Gets or sets the sub literals.
The sub literals.
This value can be null.
Definition at line 79 of file Literal.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Visit().
|
getset |
Gets or sets the text.
The text.
Definition at line 48 of file Literal.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Visit().
|
getset |
Gets or sets the value.
The value.
Definition at line 57 of file Literal.cs.
Referenced by SiliconStudio.Shaders.Writer.Hlsl.HlslToGlslWriter.Visit().