Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Shaders.Ast.ConditionalExpression Class Reference

A Conditional expression More...

Inheritance diagram for SiliconStudio.Shaders.Ast.ConditionalExpression:
SiliconStudio.Shaders.Ast.Expression SiliconStudio.Shaders.Ast.Node SiliconStudio.Shaders.Ast.ITypeInferencer

Public Member Functions

 ConditionalExpression ()
 Initializes a new instance of the ConditionalExpression class. More...
 
 ConditionalExpression (Expression condition, Expression left, Expression right)
 Initializes a new instance of the ConditionalExpression class. More...
 
override IEnumerable< NodeChildrens ()
 Gets the child nodes.
Returns
An enumeration of child nodes
More...
 
override string ToString ()
 
- Public Member Functions inherited from SiliconStudio.Shaders.Ast.Expression
 Expression ()
 Initializes a new instance of the Expression class. More...
 
override string ToString ()
 
bool Equals (Expression other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
- Public Member Functions inherited from SiliconStudio.Shaders.Ast.Node
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...
 
Expression Left [get, set]
 Gets or sets the left. More...
 
Expression Right [get, set]
 Gets or sets the right. More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.Expression
TypeInference TypeInference [get, set]
 Gets or sets the type reference. More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.Node
SourceSpan Span [get, set]
 Gets or sets the source span. More...
 
List< NodeChildrenList [get]
 Gets the childrens. More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.ITypeInferencer
TypeInference TypeInference [get, set]
 Gets or sets the reference. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SiliconStudio.Shaders.Ast.Expression
static bool operator== (Expression left, Expression right)
 
static bool operator!= (Expression left, Expression right)
 
- Static Public Member Functions inherited from SiliconStudio.Shaders.Ast.Node
static bool operator== (Node left, Node right)
 
static bool operator!= (Node left, Node right)
 
- Protected Member Functions inherited from SiliconStudio.Shaders.Ast.Node
 Node ()
 Initializes a new instance of the Node class. More...
 

Detailed Description

A Conditional expression

Definition at line 12 of file ConditionalExpression.cs.

Constructor & Destructor Documentation

SiliconStudio.Shaders.Ast.ConditionalExpression.ConditionalExpression ( )

Initializes a new instance of the ConditionalExpression class.

Definition at line 17 of file ConditionalExpression.cs.

SiliconStudio.Shaders.Ast.ConditionalExpression.ConditionalExpression ( Expression  condition,
Expression  left,
Expression  right 
)

Initializes a new instance of the ConditionalExpression class.

Parameters
conditionThe condition.
leftThe left.
rightThe right.

Definition at line 27 of file ConditionalExpression.cs.

Member Function Documentation

override IEnumerable<Node> SiliconStudio.Shaders.Ast.ConditionalExpression.Childrens ( )
virtual

Gets the child nodes.

Returns
An enumeration of child nodes

Reimplemented from SiliconStudio.Shaders.Ast.Node.

Definition at line 65 of file ConditionalExpression.cs.

override string SiliconStudio.Shaders.Ast.ConditionalExpression.ToString ( )

Definition at line 75 of file ConditionalExpression.cs.

Property Documentation

Expression SiliconStudio.Shaders.Ast.ConditionalExpression.Condition
getset

Gets or sets the condition.

The condition.

Definition at line 42 of file ConditionalExpression.cs.

Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Visit().

Expression SiliconStudio.Shaders.Ast.ConditionalExpression.Left
getset

Gets or sets the left.

The left.

Definition at line 50 of file ConditionalExpression.cs.

Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Visit().

Expression SiliconStudio.Shaders.Ast.ConditionalExpression.Right
getset

Gets or sets the right.

The right.

Definition at line 58 of file ConditionalExpression.cs.

Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Visit().


The documentation for this class was generated from the following file: