![]() |
Paradox Game Engine
v1.0.0 beta06
|
A method definition with a body of statements. More...
Public Member Functions | |
| MethodDefinition () | |
| Initializes a new instance of the MethodDefinition class. More... | |
| MethodDefinition (TypeBase returntype, string name) | |
| Initializes a new instance of the MethodDefinition class. More... | |
| override IEnumerable< Node > | Childrens () |
Gets the child nodes.
| |
Public Member Functions inherited from SiliconStudio.Shaders.Ast.MethodDeclaration | |
| 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 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 | |
| MethodDeclaration | Declaration [get, set] |
| Gets or sets the declaration. More... | |
| StatementList | Body [get, set] |
| Gets or sets the list of statements. More... | |
Properties inherited from SiliconStudio.Shaders.Ast.MethodDeclaration | |
| 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... | |
A method definition with a body of statements.
Definition at line 12 of file MethodDefinition.cs.
| SiliconStudio.Shaders.Ast.MethodDefinition.MethodDefinition | ( | ) |
Initializes a new instance of the MethodDefinition class.
Definition at line 22 of file MethodDefinition.cs.
| SiliconStudio.Shaders.Ast.MethodDefinition.MethodDefinition | ( | TypeBase | returntype, |
| string | name | ||
| ) |
Initializes a new instance of the MethodDefinition class.
| returntype | The returntype. |
| name | The name. |
Definition at line 33 of file MethodDefinition.cs.
|
virtual |
Gets the child nodes.
Reimplemented from SiliconStudio.Shaders.Ast.MethodDeclaration.
Definition at line 66 of file MethodDefinition.cs.
|
getset |
Gets or sets the list of statements.
The list of statements.
Definition at line 58 of file MethodDefinition.cs.
|
getset |