Package sc.parser

Class GenerateContext

    • Field Detail

      • finalGeneration

        public boolean finalGeneration
      • debugError

        public static boolean debugError
      • generateStats

        public static boolean generateStats
      • generateCount

        public static int generateCount
      • generateError

        public static int generateError
    • Constructor Detail

      • GenerateContext

        public GenerateContext​(boolean dbg)
    • Method Detail

      • progress

        public int progress​(java.lang.Object obj)
        Avoid computing the length unless we are debugging generation errors
      • generateChild

        public java.lang.Object generateChild​(Parselet parselet,
                                              java.lang.Object value)
      • error

        public java.lang.Object error​(Parselet parselet,
                                      GenerateError err,
                                      java.lang.Object value,
                                      int progress)