public ExceptionHandler(Expression parentExpression, Token token) : base(parentExpression, token) { Try = new Expression(this, null); CatchClauses = new List<CatchClause>(); Finally = new Expression(this, null); }
public Instantiation(Expression parentExpression, Token token) : base(parentExpression, token) { Parameters = new Expression(null, null); GenericTypes = new List<string>(); IsArray = false; }
public Enum(Expression parentExpression, Token token) : base(parentExpression, token) { Constants = new List<EnumConstant>(); UnqualifiedName = ""; Accessibility = Accessibility.Public; }
public Interface(Expression parentExpression, Token token) : base(parentExpression, token) { UnqualifiedName = ""; Accessibility = Accessibility.Public; BaseTypeNames = new List<string>(); GenericTypeNames = new List<string>(); }
public Expression(Expression parentExpression, Token token) { ChildExpressions = new List<Expression>(); ParentExpression = parentExpression; Token = token; Imports = new List<Import>(); Validated = false; }
public MethodInvocation(Expression parentExpression, Token token) : base(parentExpression, token) { Prefix = ""; Parameters = new Expression(this, null); GenericTypes = new List<string>(); }
// Convert an Irony token to one that is independant of Irony. public Pie.Expressions.Token ConvertToken(Irony.Parsing.Token ironyToken) { var t = new Pie.Expressions.Token(); t.Column = ironyToken.Location.Column; t.Line = ironyToken.Location.Line; t.Position = ironyToken.Location.Position; return(t); }
public Constructor(Expression parentExpression, Token token) : base(parentExpression, token) { Parameters = new List<Expression>(); SubParameters = new Expression(this, null); Accessibility = Expressions.Accessibility.Public; // Default to no sub constructor. Sub = false; }
public DelegateDeclaration(Expression parentExpression, Token token) : base(parentExpression, token) { ReturnTypeName = ""; Name = ""; Accessibility = Expressions.Accessibility.Public; GenericTypeNames = new List<string>(); Parameters = new List<Expression>(); IsShared = false; }
public Class(Expression parentExpression, Token token) : base(parentExpression, token) { IsFinal = false; UnqualifiedName = ""; Accessibility = Accessibility.Public; IsModule = false; IsStruct = false; IsPartial = false; IsAbstract = false; BaseTypeNames = new List<string>(); GenericTypeNames = new List<string>(); }
public MethodDeclaration(Expression parentExpression, Token token) : base(parentExpression, token) { GenericTypeNames = new List<string>(); Parameters = new List<Expression>(); ReturnTypeName = null; Accessibility = Accessibility.Public; if(parentExpression is Class) if ((parentExpression as Class).IsModule) IsShared = true; else IsShared = false; IsOverride = false; IsAbstract = false; IsFinal = false; IsVirtual = false; }
public CatchClause(Expression parentExpression, Token token) : base(parentExpression, token) { }
public Literal(Expression parentExpression, Token token) : base(parentExpression, token) { }
// Convert an Irony token to one that is independant of Irony. public Pie.Expressions.Token ConvertToken(Irony.Parsing.Token ironyToken) { var t = new Pie.Expressions.Token(); t.Column = ironyToken.Location.Column; t.Line = ironyToken.Location.Line; t.Position = ironyToken.Location.Position; return t; }
public ExplicitVariableDeclaration(Expression parentExpression, Token token) : base(parentExpression, token) { GenericTypes = new List<string>(); }