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

A declaration inside a statement. More...

Inheritance diagram for SiliconStudio.Shaders.Ast.DeclarationStatement:
SiliconStudio.Shaders.Ast.Statement SiliconStudio.Shaders.Ast.Node SiliconStudio.Shaders.Ast.IAttributes

Public Member Functions

 DeclarationStatement ()
 Initializes a new instance of the DeclarationStatement class. More...
 
 DeclarationStatement (Node content)
 Initializes a new instance of the DeclarationStatement 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.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

Node Content [get, set]
 Gets or sets the content. More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.Statement
List< AttributeBaseAttributes [get, set]
 Gets or sets the attributes. 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.IAttributes
List< AttributeBaseAttributes [get, set]
 

Additional Inherited Members

- 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.Statement
 Statement ()
 Initializes a new instance of the Statement class. More...
 
- Protected Member Functions inherited from SiliconStudio.Shaders.Ast.Node
 Node ()
 Initializes a new instance of the Node class. More...
 

Detailed Description

A declaration inside a statement.

Definition at line 12 of file DeclarationStatement.cs.

Constructor & Destructor Documentation

SiliconStudio.Shaders.Ast.DeclarationStatement.DeclarationStatement ( )

Initializes a new instance of the DeclarationStatement class.

Definition at line 19 of file DeclarationStatement.cs.

SiliconStudio.Shaders.Ast.DeclarationStatement.DeclarationStatement ( Node  content)

Initializes a new instance of the DeclarationStatement class.

Parameters
contentThe content.

Definition at line 29 of file DeclarationStatement.cs.

Member Function Documentation

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

Gets the child nodes.

Returns
An enumeration of child nodes

Reimplemented from SiliconStudio.Shaders.Ast.Node.

Definition at line 51 of file DeclarationStatement.cs.

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

Definition at line 59 of file DeclarationStatement.cs.

Property Documentation

Node SiliconStudio.Shaders.Ast.DeclarationStatement.Content
getset

Gets or sets the content.

The content.

Definition at line 44 of file DeclarationStatement.cs.

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


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