public CompoundExpression(ISymbolTable parentScope) : base(NodeType.CompoundExpression) { nameScope = new SymbolTable(ScopeType.Compound, parentScope); statements = new StatementCollection(this); }
public BlockExpression(ISymbolTable parentScope) : base(NodeType.BlockExpression) { statements = new StatementCollection(this); nameScope = new SymbolTable(ScopeType.Block, parentScope); }
public ForStatement() { statements = new StatementCollection(this); }
public IfStatement(IfType iftype) { trueStmts = new StatementCollection(this); falseStmts = new StatementCollection(this); this.iftype = iftype; }
public RepeatStatement(RepeatType type, IExpression conditionExp) { statements = new StatementCollection(this); this.type = type; this.conditionExp = conditionExp; }
public NamespaceDeclaration(ISymbolTable parentScope) : base(NodeType.NamespaceDefinition) { nameScope = new SymbolTable(ScopeType.Namespace, parentScope); typeDeclarations = new StatementCollection(this); }