Mono.CSharp.BlockContext.StartFlowBranching C# (CSharp) Method

StartFlowBranching() public method

Starts a new code branching. This inherits the state of all local variables and parameters from the current branching.
public StartFlowBranching ( Mono.CSharp.FlowBranching type, Mono.CSharp.Location loc ) : Mono.CSharp.FlowBranching
type Mono.CSharp.FlowBranching
loc Mono.CSharp.Location
return Mono.CSharp.FlowBranching
		public FlowBranching StartFlowBranching (FlowBranching.BranchingType type, Location loc)
		{
			current_flow_branching = FlowBranching.CreateBranching (CurrentBranching, type, null, loc);
			return current_flow_branching;
		}

Same methods

BlockContext::StartFlowBranching ( Block block ) : Mono.CSharp.FlowBranching
BlockContext::StartFlowBranching ( ExceptionStatement stmt ) : Mono.CSharp.FlowBranchingException
BlockContext::StartFlowBranching ( Mono.CSharp.Iterator iterator, Mono.CSharp.FlowBranching parent ) : Mono.CSharp.FlowBranchingIterator
BlockContext::StartFlowBranching ( LabeledStatement stmt ) : Mono.CSharp.FlowBranchingLabeled
BlockContext::StartFlowBranching ( ParametersBlock stmt, Mono.CSharp.FlowBranching parent ) : Mono.CSharp.FlowBranchingToplevel
BlockContext::StartFlowBranching ( TryCatch stmt ) : Mono.CSharp.FlowBranchingTryCatch

Usage Example

示例#1
0
        public override bool Resolve(BlockContext ec)
        {
            ec.StartFlowBranching(iterator);
            bool ok = original_block.Resolve(ec);

            ec.EndFlowBranching();
            return(ok);
        }
All Usage Examples Of Mono.CSharp.BlockContext::StartFlowBranching