17 using System.Collections.Generic;
79 public abstract Object
Visit(
Block node, Object obj);
99 #region getInheritedAttributes<T>()
109 bool isArray = attributes is System.Array;
110 T attribute =
default(T);
111 if (!isArray && index > 0)
112 throw new ArgumentException(
"The index parameter should be 0 the attributes parameter is not an array.");
115 attribute = (T)attributes;
117 throw new ArgumentException(
"The expected type is not the same as the actual one.");
120 Object[] array = attributes as Object[];
122 throw new ArgumentException(
"The expected type is not the same as the actual one.");
123 if (array[index] == null)
125 if (!(array[index] is T))
126 throw new ArgumentException(String.Format(
"The {0} expected type is not the same as the actual one.", index));
127 if (array[index] is T)
128 attribute=(T)array[index];
Encapsulates a Return statement of our programming languages.
Encapsulates a 'base' expression.
Encapsulates a definition of a concrete method.
Encapsulates a Break statement of our programming languages.
Encapsulates a binary expression of our programming language.
Encapsulates the qualified name expression.
Encapsulates a Case statement of our programming languages.
Encapsulates a Do statement of our programming language.
Encapsulates a string literal expression.
Encapsulates the expression to access a field.
Encapsulates a block of statements.
Encapsulates a namespace definition.
Encapsulates a Catch statement of our programming languages.
Encapsulates a logical binary expression.
Encapsulates a invocation expression.
Encapsulates a boolean literal expression.
Encapsulates a cast expression.
Encapsulates a definition of a concrete field.
Encapsulates a constant field definition.
Encapsulates a definition.
Encapsulates arithmetic binary expressions.
Encapsulates a For statement of our programming languages.
Encapsulates a While statement of our programming languages.
Encapsulates a null expression.
Encapsulates a Is expression.
Encapsulates a definition of a concrete interface.
Encapsulates a Assert statement of our programming languages.
Encapsulates a switch label (Case + condition or Default section).
Encapsulates a identifier expression of our programming language.
Encapsulates a statement with several declarations.
Encapsulates a declaration of a concrete method.
Encapsulates a set of expressions.
Encapsulates a Theta function to use in SSA algorithm.
Encapsulates a relational binary expression.
Encapsulates a bitwise binary expression.
Encapsulates assignment binary expressions.
Encapsulates a ternary expression of our programming language.
Encapsulates a If-Else statement of our programming language.
Encapsulates a new array expression.
Encapsulates a definition of a concrete constructor.
Encapsulates the source code.
Encapsulates a Try-Catch-finally statement of our programming languages. As C# states catch blcok and...
Encapsulates a string literal expression.
Encapsulates a declaration.
Encapsulates a argument expression of our programming language.
Encapsulates a 'this' expression.
Encapsulates a unary expression of our programming language.
Encapsulates a integer literal expression.
Encapsulates a set of field declarations.
Encapsulates a declaration of a concrete field.
Encapsulates a constant definition.
Encapsulates the array expression to access the concrete position.
Encapsulates a Move instruction to use in SSA algorithm
Encapsulates a Continue statement of our programming languages.
Encapsulates a Throw statement of our programming languages.
Encapsulates a Foreach statement of our programming languages.
Encapsulates a invocation expression to base class.
Encapsulates a new expression.
Encapsulates a property definition.
Encapsulates a definition of a concrete class.
Encapsulates a Switch statement of our programming languages.