The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
This class encapsulates several inherited attributes used in code generation process. More...
Public Member Functions | |
InheritedAttributes (MethodDefinition methodInfo, bool assignmentFound, Expression idReference, bool arrayAccessFound, MethodType methodTypeExpression, bool invocationParentNode, AstNode parentNode, bool messagePassed) | |
InheritedAttributes (MethodDefinition methodInfo, bool assignmentFound, Expression idReference, bool arrayAccessFound, MethodType methodTypeExpression, bool invocationParentNode) | |
Properties | |
bool | Assignment [get, set] |
Gets or sets true if assignment expression found. Otherwise, gets or sets false. More... | |
bool | IsIntrospectiveInvocation [get, set] |
Gets or sets true the node is an Introspective Invocation. Otherwise, gets or sets false. More... | |
bool | ArrayAccessFound [get, set] |
Gets or sets true if array access expression found. Otherwise, gets or sets false. More... | |
MethodDefinition | CurrentMethod [get, set] |
Gets or sets the current method definition node. More... | |
Expression | Reference [get, set] |
Gets or sets the reference of a concrete identifier. More... | |
MethodType | ActualMethodCalled [get, set] |
Gets or sets the type expression of the current invocation expression. If not exists, their value is null. More... | |
bool | IsParentNodeAnInvocation [get, set] |
Gets or sets true if the parent node is an InvocationExpression. Otherwise, false. More... | |
AstNode | ParentNode [get] |
When suitable, the parent node of the node that is being visited. It is very important for the SingleIndentifier node, to distinguish between the implicit object and when the ID is a parameter More... | |
bool | MessagePassed [get, set] |
This class encapsulates several inherited attributes used in code generation process.
Definition at line 24 of file InheritedAttributes.cs.
CodeGeneration.InheritedAttributes.InheritedAttributes | ( | MethodDefinition | methodInfo, |
bool | assignmentFound, | ||
Expression | idReference, | ||
bool | arrayAccessFound, | ||
MethodType | methodTypeExpression, | ||
bool | invocationParentNode, | ||
AstNode | parentNode, | ||
bool | messagePassed | ||
) |
Constructor of InheritedAttributes
Definition at line 158 of file InheritedAttributes.cs.
CodeGeneration.InheritedAttributes.InheritedAttributes | ( | MethodDefinition | methodInfo, |
bool | assignmentFound, | ||
Expression | idReference, | ||
bool | arrayAccessFound, | ||
MethodType | methodTypeExpression, | ||
bool | invocationParentNode | ||
) |
Definition at line 169 of file InheritedAttributes.cs.
|
getset |
Gets or sets the type expression of the current invocation expression. If not exists, their value is null.
Definition at line 119 of file InheritedAttributes.cs.
|
getset |
Gets or sets true if array access expression found. Otherwise, gets or sets false.
Definition at line 92 of file InheritedAttributes.cs.
|
getset |
Gets or sets true if assignment expression found. Otherwise, gets or sets false.
Definition at line 72 of file InheritedAttributes.cs.
|
getset |
Gets or sets the current method definition node.
Definition at line 101 of file InheritedAttributes.cs.
|
getset |
Gets or sets true the node is an Introspective Invocation. Otherwise, gets or sets false.
Definition at line 83 of file InheritedAttributes.cs.
|
getset |
Gets or sets true if the parent node is an InvocationExpression. Otherwise, false.
Definition at line 128 of file InheritedAttributes.cs.
|
getset |
Definition at line 146 of file InheritedAttributes.cs.
|
get |
When suitable, the parent node of the node that is being visited. It is very important for the SingleIndentifier node, to distinguish between the implicit object and when the ID is a parameter
Definition at line 138 of file InheritedAttributes.cs.
|
getset |
Gets or sets the reference of a concrete identifier.
Definition at line 110 of file InheritedAttributes.cs.