![]() |
Paradox Game Engine
v1.0.0 beta06
|
An identifier. More...
Public Member Functions | |
Identifier () | |
Initializes a new instance of the Identifier class. More... | |
Identifier (string name) | |
Initializes a new instance of the Identifier class. More... | |
bool | Equals (Identifier other) |
Equalses the specified other. More... | |
override bool | Equals (object obj) |
override int | GetHashCode () |
override string | ToString () |
Returns a System.String that represents this instance. More... | |
![]() | |
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... | |
virtual IEnumerable< Node > | Childrens () |
Gets the child nodes. More... | |
override string | ToString () |
Static Public Member Functions | |
static bool | operator== (Identifier left, Identifier right) |
Implements the operator ==. More... | |
static implicit | operator string (Identifier identifier) |
Performs an implicit conversion from Identifier to System.String. More... | |
static implicit | operator Identifier (string identifierName) |
Performs an implicit conversion from System.String to Identifier. More... | |
static bool | operator!= (Identifier left, Identifier right) |
Implements the operator !=. More... | |
![]() | |
static bool | operator== (Node left, Node right) |
static bool | operator!= (Node left, Node right) |
Properties | |
bool | HasIndices [get] |
Gets a value indicating whether this instance has indices. More... | |
List< Expression > | Indices [get, set] |
Gets or sets the indices. More... | |
bool | IsSpecialReference [get, set] |
Gets or sets a value indicating whether this instance is a special reference using < > More... | |
string | Text [get, set] |
Gets or sets the name. 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... | |
An identifier.
Definition at line 12 of file Identifier.cs.
SiliconStudio.Shaders.Ast.Identifier.Identifier | ( | ) |
Initializes a new instance of the Identifier class.
Definition at line 19 of file Identifier.cs.
SiliconStudio.Shaders.Ast.Identifier.Identifier | ( | string | name | ) |
Initializes a new instance of the Identifier class.
name | The name. |
Definition at line 29 of file Identifier.cs.
bool SiliconStudio.Shaders.Ast.Identifier.Equals | ( | Identifier | other | ) |
Equalses the specified other.
other | The other. |
Definition at line 92 of file Identifier.cs.
References SiliconStudio.Shaders.Ast.Identifier.Text.
override bool SiliconStudio.Shaders.Ast.Identifier.Equals | ( | object | obj | ) |
Definition at line 106 of file Identifier.cs.
override int SiliconStudio.Shaders.Ast.Identifier.GetHashCode | ( | ) |
Definition at line 124 of file Identifier.cs.
|
static |
Performs an implicit conversion from System.String to Identifier.
identifierName | Name of the identifier. |
Definition at line 191 of file Identifier.cs.
|
static |
Performs an implicit conversion from Identifier to System.String.
identifier | The identifier. |
Definition at line 179 of file Identifier.cs.
|
static |
Implements the operator !=.
left | The left. |
right | The right. |
Definition at line 204 of file Identifier.cs.
|
static |
Implements the operator ==.
left | The left. |
right | The right. |
Definition at line 167 of file Identifier.cs.
override string SiliconStudio.Shaders.Ast.Identifier.ToString | ( | ) |
Returns a System.String that represents this instance.
Definition at line 141 of file Identifier.cs.
|
get |
Gets a value indicating whether this instance has indices.
true
if this instance has indices; otherwise, false
.
Definition at line 45 of file Identifier.cs.
Referenced by SiliconStudio.Shaders.Writer.Hlsl.HlslWriter.Write(), and SiliconStudio.Shaders.Writer.ShaderWriter.Write().
|
getset |
Gets or sets the indices.
The indices.
This property can be null.
Definition at line 61 of file Identifier.cs.
Referenced by SiliconStudio.Shaders.Writer.Hlsl.HlslWriter.Write(), and SiliconStudio.Shaders.Writer.ShaderWriter.Write().
|
getset |
Gets or sets a value indicating whether this instance is a special reference using < >
true
if this instance is special reference; otherwise, false
.
Definition at line 69 of file Identifier.cs.
Referenced by SiliconStudio.Shaders.Writer.Hlsl.HlslWriter.Write(), and SiliconStudio.Shaders.Writer.ShaderWriter.Write().
|
getset |
Gets or sets the name.
The name.
Definition at line 77 of file Identifier.cs.
Referenced by SiliconStudio.Shaders.Ast.Identifier.Equals(), SiliconStudio.Paradox.Shaders.Parser.Grammar.ParadoxGrammar.ParseClassGenerics(), SiliconStudio.Paradox.Shaders.Parser.Mixins.ShaderMixinCodeGen.Visit(), SiliconStudio.Shaders.Writer.Hlsl.HlslWriter.Write(), and SiliconStudio.Shaders.Writer.ShaderWriter.Write().