public override int Compile(FunctionContext context) { context.Position(Token); var target = context.ContinueLabel(); if (target == null) { throw new MondCompilerException(this, CompilerError.UnresolvedJump); } return(context.Jump(target)); }
public override int Compile(FunctionContext context) { context.Line(FileName, Line); var target = context.ContinueLabel(); if (target == null) { throw new MondCompilerException(FileName, Line, CompilerError.UnresolvedJump); } return(context.Jump(target)); }
public override LabelOperand ContinueLabel() { return(_parent.ContinueLabel()); }