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

A literal expression. More...

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

Public Member Functions

 LiteralExpression ()
 Initializes a new instance of the LiteralExpression class. More...
 
 LiteralExpression (Literal literal)
 Initializes a new instance of the LiteralExpression class. More...
 
 LiteralExpression (object value)
 Initializes a new instance of the LiteralExpression class. More...
 
bool Equals (LiteralExpression other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
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 ()
 

Static Public Member Functions

static bool operator== (LiteralExpression left, LiteralExpression right)
 
static bool operator!= (LiteralExpression left, LiteralExpression right)
 
- 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)
 

Properties

Literal Literal [get, set]
 Gets or sets the literal. More...
 
string Text [get, set]
 Gets or sets the text. More...
 
object Value [get, set]
 Gets or sets the value. 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

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

Detailed Description

A literal expression.

Definition at line 12 of file LiteralExpression.cs.

Constructor & Destructor Documentation

SiliconStudio.Shaders.Ast.LiteralExpression.LiteralExpression ( )

Initializes a new instance of the LiteralExpression class.

Definition at line 19 of file LiteralExpression.cs.

SiliconStudio.Shaders.Ast.LiteralExpression.LiteralExpression ( Literal  literal)

Initializes a new instance of the LiteralExpression class.

Parameters
literalThe literal.

Definition at line 29 of file LiteralExpression.cs.

SiliconStudio.Shaders.Ast.LiteralExpression.LiteralExpression ( object  value)

Initializes a new instance of the LiteralExpression class.

Parameters
valueThe value.

Definition at line 40 of file LiteralExpression.cs.

Member Function Documentation

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

Gets the child nodes.

Returns
An enumeration of child nodes

Reimplemented from SiliconStudio.Shaders.Ast.Node.

Definition at line 136 of file LiteralExpression.cs.

bool SiliconStudio.Shaders.Ast.LiteralExpression.Equals ( LiteralExpression  other)
override bool SiliconStudio.Shaders.Ast.LiteralExpression.Equals ( object  obj)

Definition at line 112 of file LiteralExpression.cs.

override int SiliconStudio.Shaders.Ast.LiteralExpression.GetHashCode ( )
static bool SiliconStudio.Shaders.Ast.LiteralExpression.operator!= ( LiteralExpression  left,
LiteralExpression  right 
)
static

Definition at line 130 of file LiteralExpression.cs.

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

Definition at line 125 of file LiteralExpression.cs.

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

Definition at line 144 of file LiteralExpression.cs.

Property Documentation

Literal SiliconStudio.Shaders.Ast.LiteralExpression.Literal
getset

Gets or sets the literal.

The literal.

Definition at line 55 of file LiteralExpression.cs.

Referenced by SiliconStudio.Shaders.Ast.LiteralExpression.Equals().

string SiliconStudio.Shaders.Ast.LiteralExpression.Text
getset

Gets or sets the text.

The text.

Definition at line 64 of file LiteralExpression.cs.

object SiliconStudio.Shaders.Ast.LiteralExpression.Value
getset

Gets or sets the value.

The value.

Definition at line 86 of file LiteralExpression.cs.


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