public StateMachineMethod(StateMachine host, StateMachineInitializer expr, FullNamedExpression returnType, Modifiers mod, MemberName name) : base(host, returnType, mod | Modifiers.COMPILER_GENERATED, name, ParametersCompiled.EmptyReadOnlyParameters, null) { this.expr = expr; Block = new ToplevelBlock(host.Compiler, ParametersCompiled.EmptyReadOnlyParameters, Location.Null); }
public FlowBranchingIterator StartFlowBranching(StateMachineInitializer iterator, FlowBranching parent) { FlowBranchingIterator branching = new FlowBranchingIterator(parent, iterator); current_flow_branching = branching; return(branching); }
public MoveNextBodyStatement(StateMachineInitializer stateMachine) { this.state_machine = stateMachine; this.loc = stateMachine.Location; }