![]() |
Paradox Game Engine
v1.0.0 beta06
|
Switch statement. More...
Public Member Functions | |
SwitchStatement () | |
Initializes a new instance of the SwitchStatement 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 | Condition [get, set] |
Gets or sets the condition. More... | |
List< SwitchCaseGroup > | Groups [get, set] |
Gets or sets the cases. 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... | |
Switch statement.
Definition at line 12 of file SwitchStatement.cs.
SiliconStudio.Shaders.Ast.SwitchStatement.SwitchStatement | ( | ) |
Initializes a new instance of the SwitchStatement class.
Definition at line 17 of file SwitchStatement.cs.
|
virtual |
Gets the child nodes.
Reimplemented from SiliconStudio.Shaders.Ast.Node.
Definition at line 45 of file SwitchStatement.cs.
override string SiliconStudio.Shaders.Ast.SwitchStatement.ToString | ( | ) |
Definition at line 54 of file SwitchStatement.cs.
|
getset |
Gets or sets the condition.
The condition.
Definition at line 30 of file SwitchStatement.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Visit().
|
getset |
Gets or sets the cases.
The cases.
Definition at line 38 of file SwitchStatement.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Visit().