Class NextNotExpression

    • Constructor Detail

    • Method Detail

      • compile

        public Instruction[] compile​(CompilationHandler compiler)
        Compiles this expression into a sequence of instructions:
         Choice L1
         subExpression
         FailTwice
         L1: ...
         
        Should be noted that can be compiled without usage of instruction "FailTwice":
         Choice L2
         subExpression
         Commit L1
         L1: Fail
         L2: ...
         
        Specified by:
        compile in interface ParsingExpression