16 using System.Collections.Generic;
59 get {
return this.name; }
67 get {
return this.scope; }
75 get {
return this.type; }
76 set { this.type = value; }
84 get {
return this.dynamic; }
100 this.name = symbolName;
101 this.scope = symbolScope;
102 this.type = symbolType;
103 this.dynamic = isDinamic;
117 aux.AppendFormat(
"Name: {0} Scope: {1} Type: {2} Is dynamic: {3}", this.name, this.scope, this.type, this.dynamic);
118 return aux.ToString();
bool IsDynamic
True if the symbol reference is dynamic, false if the symbol reference is static. ...
string Name
Gets the identifier name associated with the symbol.
Abstract class that represents all different types.
System.Text.StringBuilder StringBuilder
This class represents a symbol associated with its identifier.
int Scope
Gets symbol scope.
TypeExpression SymbolType
Gets the symbol type.
override string ToString()
Returns the symbol information
Symbol(string symbolName, int symbolScope, TypeExpression symbolType, bool isDinamic)
Constructor of Symbol.