Class ExtractConstantValues

  • All Implemented Interfaces:
    Visitor

    public class ExtractConstantValues
    extends BaseVisitor
    Find constants and extract to variables in order to have the number parsed only once.
    • Field Detail

      • TARGET_STARTS

        public static java.util.List<ApplesoftKeyword> TARGET_STARTS
        These trigger the start of a replacement range. Note the special logic for assignments.
      • TARGET_ENDS

        public static java.util.List<ApplesoftKeyword> TARGET_ENDS
        These trigger the end of a replacement range. End of statement is always an end.
    • Constructor Detail

      • ExtractConstantValues

        public ExtractConstantValues​(Configuration config)