18 namespace CodeGeneration
36 private bool assignment;
46 private bool arrayAccess;
56 private bool isParentNodeAnInvocation;
73 get {
return assignment; }
74 set { assignment = value; }
78 private bool isIntrospectiveInvocation;
84 get {
return isIntrospectiveInvocation; }
85 set { isIntrospectiveInvocation = value; }
93 get {
return arrayAccess; }
94 set { arrayAccess = value; }
102 get {
return this.node; }
103 set { this.node = value; }
111 get {
return this.reference; }
112 set { this.reference = value; }
120 get {
return this.actualMethodCalled; }
121 set { this.actualMethodCalled = value; }
129 get {
return this.isParentNodeAnInvocation; }
130 set { this.isParentNodeAnInvocation = value; }
139 get {
return this.parentNode; }
144 private bool messagePassed;
147 get {
return this.messagePassed; }
149 set { this.messagePassed = value; }
159 this.node = methodInfo;
160 this.assignment = assignmentFound;
161 this.reference = idReference;
162 this.arrayAccess = arrayAccessFound;
163 this.actualMethodCalled = methodTypeExpression;
164 this.isParentNodeAnInvocation = invocationParentNode;
165 this.parentNode = parentNode;
166 this.messagePassed = messagePassed;
167 this.isIntrospectiveInvocation =
false;
170 : this(methodInfo, assignmentFound, idReference, arrayAccessFound, methodTypeExpression, invocationParentNode, null, false)
Encapsulates a definition of a concrete method.
Abstract class encapsulate a programming language expression.
bool IsParentNodeAnInvocation
Gets or sets true if the parent node is an InvocationExpression. Otherwise, false.
MethodType ActualMethodCalled
Gets or sets the type expression of the current invocation expression. If not exists, their value is null.
bool ArrayAccessFound
Gets or sets true if array access expression found. Otherwise, gets or sets false.
MethodDefinition CurrentMethod
Gets or sets the current method definition node.
Expression Reference
Gets or sets the reference of a concrete identifier.
InheritedAttributes(MethodDefinition methodInfo, bool assignmentFound, Expression idReference, bool arrayAccessFound, MethodType methodTypeExpression, bool invocationParentNode, AstNode parentNode, bool messagePassed)
Abstract class for all nodes that compounds the abstract syntax tree.
This class encapsulates several inherited attributes used in code generation process.
bool Assignment
Gets or sets true if assignment expression found. Otherwise, gets or sets false.
Representa a method type.
bool IsIntrospectiveInvocation
Gets or sets true the node is an Introspective Invocation. Otherwise, gets or sets false...
AstNode ParentNode
When suitable, the parent node of the node that is being visited. It is very important for the Single...
InheritedAttributes(MethodDefinition methodInfo, bool assignmentFound, Expression idReference, bool arrayAccessFound, MethodType methodTypeExpression, bool invocationParentNode)