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

An expression. More...

Inheritance diagram for SiliconStudio.Shaders.Ast.Expression:
SiliconStudio.Shaders.Ast.Node SiliconStudio.Shaders.Ast.ITypeInferencer SiliconStudio.Shaders.Ast.ArrayInitializerExpression SiliconStudio.Shaders.Ast.AssignmentExpression SiliconStudio.Shaders.Ast.BinaryExpression SiliconStudio.Shaders.Ast.ConditionalExpression SiliconStudio.Shaders.Ast.EmptyExpression SiliconStudio.Shaders.Ast.ExpressionList SiliconStudio.Shaders.Ast.Hlsl.AsmExpression SiliconStudio.Shaders.Ast.Hlsl.CastExpression SiliconStudio.Shaders.Ast.Hlsl.CompileExpression SiliconStudio.Shaders.Ast.Hlsl.StateExpression SiliconStudio.Shaders.Ast.Hlsl.StateInitializer SiliconStudio.Shaders.Ast.IndexerExpression SiliconStudio.Shaders.Ast.KeywordExpression SiliconStudio.Shaders.Ast.LiteralExpression SiliconStudio.Shaders.Ast.MemberReferenceExpression SiliconStudio.Shaders.Ast.MethodInvocationExpression SiliconStudio.Shaders.Ast.ParenthesizedExpression SiliconStudio.Shaders.Ast.TypeReferenceExpression SiliconStudio.Shaders.Ast.UnaryExpression SiliconStudio.Shaders.Ast.VariableReferenceExpression

Public Member Functions

 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...
 
virtual IEnumerable< NodeChildrens ()
 Gets the child nodes. More...
 
override string ToString ()
 

Static Public Member Functions

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)
 

Properties

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

- Protected Member Functions inherited from SiliconStudio.Shaders.Ast.Node
 Node ()
 Initializes a new instance of the Node class. More...
 

Detailed Description

An expression.

Definition at line 12 of file Expression.cs.

Constructor & Destructor Documentation

SiliconStudio.Shaders.Ast.Expression.Expression ( )

Initializes a new instance of the Expression class.

Definition at line 17 of file Expression.cs.

Member Function Documentation

bool SiliconStudio.Shaders.Ast.Expression.Equals ( Expression  other)

Definition at line 36 of file Expression.cs.

override bool SiliconStudio.Shaders.Ast.Expression.Equals ( object  obj)

Definition at line 41 of file Expression.cs.

override int SiliconStudio.Shaders.Ast.Expression.GetHashCode ( )

Definition at line 49 of file Expression.cs.

static bool SiliconStudio.Shaders.Ast.Expression.operator!= ( Expression  left,
Expression  right 
)
static

Definition at line 59 of file Expression.cs.

static bool SiliconStudio.Shaders.Ast.Expression.operator== ( Expression  left,
Expression  right 
)
static

Definition at line 54 of file Expression.cs.

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

Property Documentation

TypeInference SiliconStudio.Shaders.Ast.Expression.TypeInference
getset

Gets or sets the type reference.

The type reference.

Definition at line 28 of file Expression.cs.

Referenced by SiliconStudio.Shaders.Analysis.Hlsl.HlslSemanticAnalysis.MatrixSwizzleDecode(), and SiliconStudio.Shaders.Convertor.HlslToGlslConvertor.Visit().


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