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

A generic declaration. This is used internally to identify a generic declaration. More...

Inheritance diagram for SiliconStudio.Shaders.Ast.GenericDeclaration:
SiliconStudio.Shaders.Ast.Node SiliconStudio.Shaders.Ast.IDeclaration

Public Member Functions

 GenericDeclaration ()
 Initializes a new instance of the GenericDeclaration class. More...
 
 GenericDeclaration (Identifier name, IGenerics holder, int index, bool isUsingBase)
 Initializes a new instance of the GenericDeclaration class. More...
 
bool Equals (GenericDeclaration 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 ()
 

Properties

Identifier Name [get, set]
 Gets or sets the name of this declaration More...
 
IGenerics Holder [get, set]
 Gets or sets the holder. More...
 
int Index [get, set]
 Gets or sets the index. More...
 
bool IsUsingBase [get, set]
 Gets or sets a value indicating whether this instance is using base. 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.IDeclaration
Identifier Name [get, set]
 Gets or sets the name of this declaration More...
 

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

Detailed Description

A generic declaration. This is used internally to identify a generic declaration.

Definition at line 10 of file GenericDeclaration.cs.

Constructor & Destructor Documentation

SiliconStudio.Shaders.Ast.GenericDeclaration.GenericDeclaration ( )

Initializes a new instance of the GenericDeclaration class.

Definition at line 15 of file GenericDeclaration.cs.

SiliconStudio.Shaders.Ast.GenericDeclaration.GenericDeclaration ( Identifier  name,
IGenerics  holder,
int  index,
bool  isUsingBase 
)

Initializes a new instance of the GenericDeclaration class.

Parameters
nameThe name.
holderThe holder.
indexThe index.
isUsingBaseif set to true [is using base].

Definition at line 26 of file GenericDeclaration.cs.

Member Function Documentation

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

Definition at line 73 of file GenericDeclaration.cs.

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

Definition at line 81 of file GenericDeclaration.cs.

Property Documentation

IGenerics SiliconStudio.Shaders.Ast.GenericDeclaration.Holder
getset

Gets or sets the holder.

The holder.

Definition at line 48 of file GenericDeclaration.cs.

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

int SiliconStudio.Shaders.Ast.GenericDeclaration.Index
getset

Gets or sets the index.

The index.

Definition at line 56 of file GenericDeclaration.cs.

bool SiliconStudio.Shaders.Ast.GenericDeclaration.IsUsingBase
getset

Gets or sets a value indicating whether this instance is using base.

true if this instance is using base; otherwise, false.

Definition at line 64 of file GenericDeclaration.cs.

Identifier SiliconStudio.Shaders.Ast.GenericDeclaration.Name
getset

Gets or sets the name of this declaration

The name.

Definition at line 40 of file GenericDeclaration.cs.

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


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