Class GenerateOperatorArrays
- java.lang.Object
-
- org.matheclipse.parser.server.util.GenerateOperatorArrays
-
public class GenerateOperatorArrays extends java.lang.ObjectUtility for generating source codes for theASTNodeFactory's HEADER_STRINGS, OPERATOR_STRINGS, OPERATORSarrays from the operators.txt textfile description
-
-
Constructor Summary
Constructors Constructor Description GenerateOperatorArrays()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidgenerateOperatorTable(java.io.InputStream is, java.util.HashMap operatorMap, java.util.HashMap operatorTokenStartSet)Generate operator table.static voidmain(java.lang.String[] args)Utility for generating source codes for theASTNodeFactory's HEADER_STRINGS, OPERATOR_STRINGS, OPERATORSarrays from an operator's text file description.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
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(java.io.InputStream is, java.util.HashMap operatorMap, java.util.HashMap operatorTokenStartSet)Generate operator table.- Parameters:
is- the isoperatorMap- the operator mapoperatorTokenStartSet- the operator token start set
-
-