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);
 }
Exemple #2
0
        public FlowBranchingIterator StartFlowBranching(StateMachineInitializer iterator, FlowBranching parent)
        {
            FlowBranchingIterator branching = new FlowBranchingIterator(parent, iterator);

            current_flow_branching = branching;
            return(branching);
        }
Exemple #3
0
 public MoveNextBodyStatement(StateMachineInitializer stateMachine)
 {
     this.state_machine = stateMachine;
     this.loc           = stateMachine.Location;
 }