![]() |
Paradox Game Engine
v1.0.0 beta06
|
Declaration of a method. More...
Public Member Functions | |
| MethodDeclaration () | |
| Initializes a new instance of the MethodDeclaration class. More... | |
| bool | CheckConstraint (GenericParameterType parameterType, TypeBase typeToCheck) |
| Checks the constraint. More... | |
| bool | IsSameSignature (MethodDeclaration methodDeclaration) |
| Test if a method declaration has the same signature. More... | |
| bool | IsSameSignature (MethodInvocationExpression methodInvocationExpression) |
| Test if a method invocation expression has the same signature. More... | |
| void | CopyTo (MethodDeclaration target) |
| Copies declartion to another instance. More... | |
| override IEnumerable< Node > | Childrens () |
Gets the child nodes.
| |
| 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 | |
| List< AttributeBase > | Attributes [get, set] |
| Gets or sets the attributes. More... | |
| Identifier | Name [get, set] |
| Gets or sets the name. More... | |
| List< GenericParameterConstraint > | ParameterConstraints [get, set] |
| Gets or sets the parameter constraints. More... | |
| List< Parameter > | Parameters [get, set] |
| Gets or sets the parameters. More... | |
| Qualifier | Qualifiers [get, set] |
| Gets or sets the storage class. More... | |
| TypeBase | ReturnType [get, set] |
| Gets or sets the type of the return. More... | |
| bool | IsBuiltin [get, set] |
| Gets or sets a value indicating whether this instance is builtin. 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... | |
Properties inherited from SiliconStudio.Shaders.Ast.IDeclaration | |
| Identifier | Name [get, set] |
| Gets or sets the name of this declaration More... | |
Properties inherited from SiliconStudio.Shaders.Ast.IAttributes | |
| List< AttributeBase > | Attributes [get, set] |
Properties inherited from SiliconStudio.Shaders.Ast.IQualifiers | |
| Qualifier | Qualifiers [get, set] |
| Gets or sets the qualifiers. 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... | |
Declaration of a method.
Definition at line 12 of file MethodDeclaration.cs.
| SiliconStudio.Shaders.Ast.MethodDeclaration.MethodDeclaration | ( | ) |
Initializes a new instance of the MethodDeclaration class.
Definition at line 19 of file MethodDeclaration.cs.
| bool SiliconStudio.Shaders.Ast.MethodDeclaration.CheckConstraint | ( | GenericParameterType | parameterType, |
| TypeBase | typeToCheck | ||
| ) |
Checks the constraint.
| parameterType | Type of the parameter. |
| typeToCheck | The type to check. |
Definition at line 98 of file MethodDeclaration.cs.
|
virtual |
Gets the child nodes.
Reimplemented from SiliconStudio.Shaders.Ast.Node.
Reimplemented in SiliconStudio.Shaders.Ast.MethodDefinition.
Definition at line 194 of file MethodDeclaration.cs.
References SiliconStudio.Shaders.Ast.Qualifier.None.
| void SiliconStudio.Shaders.Ast.MethodDeclaration.CopyTo | ( | MethodDeclaration | target | ) |
Copies declartion to another instance.
| target | The target instance. |
Definition at line 184 of file MethodDeclaration.cs.
| bool SiliconStudio.Shaders.Ast.MethodDeclaration.IsSameSignature | ( | MethodDeclaration | methodDeclaration | ) |
Test if a method declaration has the same signature.
| methodDeclaration | The method declaration. |
Definition at line 115 of file MethodDeclaration.cs.
References SiliconStudio.Shaders.Ast.MethodDeclaration.Name, and SiliconStudio.Shaders.Ast.MethodDeclaration.Parameters.
| bool SiliconStudio.Shaders.Ast.MethodDeclaration.IsSameSignature | ( | MethodInvocationExpression | methodInvocationExpression | ) |
Test if a method invocation expression has the same signature.
| methodInvocationExpression | The method invocation expression. |
Definition at line 143 of file MethodDeclaration.cs.
References SiliconStudio.Shaders.Ast.MethodInvocationExpression.Arguments.
| override string SiliconStudio.Shaders.Ast.MethodDeclaration.ToString | ( | ) |
Definition at line 212 of file MethodDeclaration.cs.
|
getset |
Gets or sets the attributes.
The attributes.
<inhericdoc>
Definition at line 38 of file MethodDeclaration.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.WriteMethodDeclaration().
|
getset |
Gets or sets a value indicating whether this instance is builtin.
true if this instance is builtin; otherwise, false.
Definition at line 86 of file MethodDeclaration.cs.
|
getset |
Gets or sets the name.
The name.
Definition at line 46 of file MethodDeclaration.cs.
Referenced by SiliconStudio.Shaders.Ast.MethodDeclaration.IsSameSignature(), and SiliconStudio.Shaders.Writer.ShaderWriter.WriteMethodDeclaration().
|
getset |
Gets or sets the parameter constraints.
The parameter constraints.
Definition at line 54 of file MethodDeclaration.cs.
|
getset |
Gets or sets the parameters.
The parameters.
Definition at line 62 of file MethodDeclaration.cs.
Referenced by SiliconStudio.Shaders.Ast.MethodDeclaration.IsSameSignature(), SiliconStudio.Shaders.Convertor.SamplerMappingVisitor.ProcessMethodInvocation(), and SiliconStudio.Shaders.Convertor.HlslToGlslConvertor.Visit().
|
getset |
Gets or sets the storage class.
The storage class.
Definition at line 70 of file MethodDeclaration.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.WriteMethodDeclaration().
|
getset |
Gets or sets the type of the return.
The type of the return.
Definition at line 78 of file MethodDeclaration.cs.
Referenced by SiliconStudio.Shaders.Writer.ShaderWriter.WriteMethodDeclaration().