Class StandardConfigurableParser

java.lang.Object
com.singularsys.jep.configurableparser.ConfigurableParser
com.singularsys.jep.configurableparser.StandardConfigurableParser
All Implemented Interfaces:
JepComponent, Parser, Serializable

public class StandardConfigurableParser extends ConfigurableParser
The standard configurable parser with a standard set of options. Implemented as:
public StandardConfigurableParser() {
    this.addHashComments();
    this.addSlashComments();
    this.addSingleQuoteStrings();
    this.addDoubleQuoteStrings();
    this.addWhiteSpace();
    this.addExponentNumbers();
    this.addSymbols("(",")","[","]",",");
    this.setImplicitMultiplicationSymbols("(","[");
    this.addOperatorTokenMatcher();
    this.addIdentifiers();
    this.addSemiColonTerminator();
    this.addWhiteSpaceCommentFilter();
    this.addBracketMatcher("(",")");
    this.addFunctionMatcher("(",")",",");
    this.addListMatcher("[","]",",");
    this.addArrayAccessMatcher("[","]");
}
Since Jep 4.1 the symbols used are specified in the properties file.
See Also:
  • Constructor Details

    • StandardConfigurableParser

      public StandardConfigurableParser()
      Create a standard configurable parse with standard options.