public IterDefinition(string name, TypedNodeList arguments, TypeSpecifier returnType, StatementList statementList, RoutineModifier modifier, Location location) : base(name, arguments, returnType, statementList, modifier, location) { typeBuilder = null; typeParameters = null; boundType = null; self = null; current = null; currentPosition = null; constructor = null; moveNext = null; getCurrent = null; creator = null; localVariables = new Hashtable(); resumePoints = new ArrayList(); resumePoints.Add(new ResumePoint()); InitArguments(); bridgeMethods = new ArrayList(); }
public override void VisitStatementList(StatementList statementList) { localVariableStack.Push(statementList.LocalVariables); statementList.Children.Accept(this); localVariableStack.Pop(); }
public RoutineDefinition(string name, TypedNodeList arguments, TypeSpecifier returnType, StatementList statementList, RoutineModifier modifier, Location location) : base(name, arguments, returnType, location) { this.statementList = statementList; this.modifier = modifier; }
public CaseStatement(Expression test, NodeList whenPartList, StatementList elsePart, Location location) : base(location) { this.test = test; this.whenPartList = whenPartList; this.elsePart = elsePart; }
public override void VisitStatementList(StatementList statementList) { localVariableStack.Push(statementList.LocalVariables); ilGenerator.BeginScope(); statementList.Children.Accept(this); ilGenerator.EndScope(); localVariableStack.Pop(); }
public TypecaseStatement(LocalExpression variable, NodeList whenPartList, StatementList elsePart, Location location) : base(location) { this.variable = variable; this.whenPartList = whenPartList; this.elsePart = elsePart; }
public TypecaseWhen(TypeSpecifier typeSpecifier, StatementList thenPart, Location location) : base(location) { this.typeSpecifier = typeSpecifier; this.thenPart = thenPart; localVariable = null; }
public ProtectWhen(TypeSpecifier typeSpecifier, StatementList thenPart, Location location) : base(location) { this.typeSpecifier = typeSpecifier; this.thenPart = thenPart; }
public ProtectStatement(StatementList statementList, NodeList whenPartList, StatementList elsePart, Location location) : base(location) { this.statementList = statementList; this.whenPartList = whenPartList; this.elsePart = elsePart; }
public LoopStatement(StatementList statementList, Location location) : base(location) { this.statementList = statementList; }
public CaseWhen(TypedNodeList valueList, StatementList thenPart, Location location) : base(location) { this.valueList = valueList; this.thenPart = thenPart; this.testCallList = new TypedNodeList(); }
public virtual void VisitStatementList(StatementList statementList) { }