Module org.refcodes.criteria
Class GenerateOperatorArrays
java.lang.Object
org.matheclipse.parser.server.util.GenerateOperatorArrays
Utility for generating source codes for the
ASTNodeFactory's HEADER_STRINGS, OPERATOR_STRINGS, OPERATORS
arrays from the operators.txt textfile description-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgenerateOperatorTable(InputStream is, HashMap operatorMap, HashMap operatorTokenStartSet) Generate operator table.static voidUtility for generating source codes for theASTNodeFactory's HEADER_STRINGS, OPERATOR_STRINGS, OPERATORSarrays from an operator's text file description.
-
Constructor Details
-
GenerateOperatorArrays
public GenerateOperatorArrays()
-
-
Method Details
-
main
Utility for generating source codes for theASTNodeFactory's HEADER_STRINGS, OPERATOR_STRINGS, OPERATORSarrays from an operator's text file description.- Parameters:
args- ifargs.length==0take the default/opertors.txtfile for generating the arrays; ifargs.length>=1thearg[0]parameters should contain the complete filename of the operator's description file
-
generateOperatorTable
public static void generateOperatorTable(InputStream is, HashMap operatorMap, HashMap operatorTokenStartSet) Generate operator table.- Parameters:
is- the isoperatorMap- the operator mapoperatorTokenStartSet- the operator token start set
-