![]() |
Paradox Game Engine
v1.0.0 beta06
|
A single case or default statement. More...
Public Member Functions | |
CaseStatement () | |
Initializes a new instance of the CaseStatement class. More... | |
CaseStatement (Expression @case) | |
Initializes a new instance of the CaseStatement class. More... | |
override IEnumerable< Node > | Childrens () |
Gets the child nodes.
| |
override string | ToString () |
![]() | |
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 () |
Properties | |
Expression | Case [get, set] |
Gets or sets the case. More... | |
![]() | |
List< AttributeBase > | Attributes [get, set] |
Gets or sets the attributes. More... | |
![]() | |
SourceSpan | Span [get, set] |
Gets or sets the source span. More... | |
List< Node > | ChildrenList [get] |
Gets the childrens. More... | |
![]() | |
List< AttributeBase > | Attributes [get, set] |
Additional Inherited Members | |
![]() | |
static bool | operator== (Node left, Node right) |
static bool | operator!= (Node left, Node right) |
![]() | |
Statement () | |
Initializes a new instance of the Statement class. More... | |
![]() | |
Node () | |
Initializes a new instance of the Node class. More... | |
A single case or default statement.
Definition at line 12 of file CaseStatement.cs.
SiliconStudio.Shaders.Ast.CaseStatement.CaseStatement | ( | ) |
Initializes a new instance of the CaseStatement class.
Definition at line 19 of file CaseStatement.cs.
SiliconStudio.Shaders.Ast.CaseStatement.CaseStatement | ( | Expression @ | case | ) |
Initializes a new instance of the CaseStatement class.
case | The . |
Definition at line 29 of file CaseStatement.cs.
|
virtual |
Gets the child nodes.
Reimplemented from SiliconStudio.Shaders.Ast.Node.
Definition at line 54 of file CaseStatement.cs.
override string SiliconStudio.Shaders.Ast.CaseStatement.ToString | ( | ) |
Definition at line 66 of file CaseStatement.cs.
|
getset |
Gets or sets the case.
The case.
If this property is null, this is a default statement.
Definition at line 47 of file CaseStatement.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Visit().