![]() |
Paradox Game Engine
v1.0.0 beta06
|
A Storage qualifier. More...
Public Member Functions | |
| Qualifier () | |
| Initializes a new instance of the Qualifier class. More... | |
| string | ToString (bool isPost) |
Public Member Functions inherited from SiliconStudio.Shaders.Ast.CompositeEnum | |
| CompositeEnum () | |
| Initializes a new instance of the CompositeEnum class. More... | |
| CompositeEnum (bool isFlag) | |
| Initializes a new instance of the CompositeEnum class. More... | |
| CompositeEnum (object key, bool isFlag) | |
| Initializes a new instance of the CompositeEnum class. More... | |
| bool | Contains (CompositeEnum enumValue) |
| Determines whether [contains] [the specified enum value]. More... | |
| bool | Contains (params CompositeEnum[] enumValues) |
| Determines whether [contains] [the specified enum values]. More... | |
| bool | ContainsAll (params CompositeEnum[] enumValues) |
| Determines whether the specified enum values contains all. More... | |
| bool | Equals (CompositeEnum other) |
| Determines whether the specified CompositeEnum is equal to this instance. More... | |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| IEnumerator< CompositeEnum > | GetEnumerator () |
| override string | ToString () |
| string | ToString< T > (Func< T, bool > filterEnum) |
| override IEnumerable< Node > | Childrens () |
Gets the child nodes.
| |
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 Qualifier | operator& (Qualifier left, Qualifier right) |
| Implements the operator ==. More... | |
| static Qualifier | operator| (Qualifier left, Qualifier right) |
| Implements the operator |. More... | |
| static Qualifier | operator^ (Qualifier left, Qualifier right) |
| Implements the operator ^. More... | |
Static Public Member Functions inherited from SiliconStudio.Shaders.Ast.CompositeEnum | |
| static T1 | OperatorAnd< T1 > (T1 left, T1 right) |
| Operators And. More... | |
| static T1 | OperatorOr< T1 > (T1 left, T1 right) |
| Operators Or. More... | |
| static T1 | OperatorXor< T1 > (T1 left, T1 right) |
| Operators Xor. More... | |
| static bool | operator== (CompositeEnum left, CompositeEnum right) |
| Implements the operator ==. More... | |
| static bool | operator!= (CompositeEnum left, CompositeEnum right) |
| Implements the operator !=. More... | |
Static Public Member Functions inherited from SiliconStudio.Shaders.Ast.Node | |
| static bool | operator== (Node left, Node right) |
| static bool | operator!= (Node left, Node right) |
Static Public Attributes | |
| static readonly Qualifier | None = new Qualifier(string.Empty) |
| None Enum. More... | |
Protected Member Functions | |
| Qualifier (object key) | |
| Initializes a new instance of the Qualifier class. More... | |
Protected Member Functions inherited from SiliconStudio.Shaders.Ast.Node | |
| Node () | |
| Initializes a new instance of the Node class. More... | |
Properties | |
| bool | IsPost [get, set] |
| Gets or sets a value indicating whether this instance is a post qualifier. More... | |
Properties inherited from SiliconStudio.Shaders.Ast.CompositeEnum | |
| bool | IsComposition [get] |
| Gets a value indicating whether this instance is a composition enum (a combination of enums). More... | |
| bool | IsFlag [get, set] |
| Gets a value indicating whether this instance is an enum flag. More... | |
| object | Key [get, set] |
| Gets or sets the key. More... | |
| OrderedSet< CompositeEnum > | Values [get, set] |
| Gets or sets the values. More... | |
| virtual string | DisplayName [get] |
| Gets the display name. More... | |
Properties inherited from SiliconStudio.Shaders.Ast.Node | |
| SourceSpan | Span [get, set] |
| Gets or sets the source span. More... | |
| List< Node > | ChildrenList [get] |
| Gets the childrens. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from SiliconStudio.Shaders.Ast.CompositeEnum | |
| static StringEnumMap | PrepareParsing< T > () |
| Prepares the parsing for a specific enum by returning a pre-computed dictionary with all allowed mapping name => enum. More... | |
A Storage qualifier.
Definition at line 11 of file Qualifier.cs.
| SiliconStudio.Shaders.Ast.Qualifier.Qualifier | ( | ) |
Initializes a new instance of the Qualifier class.
Definition at line 27 of file Qualifier.cs.
|
protected |
Initializes a new instance of the Qualifier class.
| key | Name of the enum. |
Definition at line 38 of file Qualifier.cs.
|
static |
Implements the operator ==.
| left | The left. |
| right | The right. |
Definition at line 62 of file Qualifier.cs.
|
static |
Implements the operator ^.
| left | The left. |
| right | The right. |
Definition at line 88 of file Qualifier.cs.
|
static |
Implements the operator |.
| left | The left. |
| right | The right. |
Definition at line 75 of file Qualifier.cs.
| string SiliconStudio.Shaders.Ast.Qualifier.ToString | ( | bool | isPost | ) |
Definition at line 93 of file Qualifier.cs.
None Enum.
Definition at line 18 of file Qualifier.cs.
Referenced by SiliconStudio.Shaders.Ast.Variable.Childrens(), SiliconStudio.Shaders.Ast.MethodDeclaration.Childrens(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CollectQualifiers(), SiliconStudio.Shaders.Grammar.ShaderGrammar.CreateQualifiers(), SiliconStudio.Shaders.Grammar.Hlsl.HlslGrammar.CreateTypedefAst(), SiliconStudio.Shaders.Writer.Hlsl.HlslToGlslWriter.Visit(), and SiliconStudio.Shaders.Writer.ShaderWriter.Write().
|
getset |
Gets or sets a value indicating whether this instance is a post qualifier.
true if this instance is a post qualifier; otherwise, false.
Definition at line 52 of file Qualifier.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.Write().