org.matheclipse.parser.client
Class Scanner
- java.lang.Object
-
- org.matheclipse.parser.client.Scanner
-
- Direct Known Subclasses:
- Parser
public class Scanner extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description static intTT_ARGUMENTS_CLOSEToken type: closing bracket for function argumentsstatic intTT_ARGUMENTS_OPENToken type: opening bracket for function argumentsstatic intTT_BLANKToken type: pattern placeholder '_'static intTT_BLANK_BLANKstatic intTT_BLANK_BLANK_BLANKstatic intTT_BLANK_OPTIONALToken type: pattern placeholder '_.'static intTT_COMMA',' operatorstatic intTT_DERIVATIVEstatic intTT_DIGITToken type: digit 0,1,2,3,4,5,6,7,8,9static intTT_EOFToken type: End-of_Filestatic intTT_FLOATING_POINTToken type: floating point numberstatic intTT_IDENTIFIERToken type: identifier namestatic intTT_LIST_CLOSEToken type: closing curly braces '}' for ending listsstatic intTT_LIST_OPENToken type: opening curly braces '{' for starting listsstatic intTT_OPERATORToken type: operator found in input stringstatic intTT_PARTCLOSEToken type: closing brackets for ending the "index part" of an expressionstatic intTT_PARTOPENToken type: opening brackets for starting the "index part" of an expressionstatic intTT_PERCENT'%' operatorstatic intTT_PRECEDENCE_CLOSEToken type: closing bracket ')' for sub-formulas with higher precedencestatic intTT_PRECEDENCE_OPENToken type: opening bracket '(' for sub-formulas with higher precedencestatic intTT_SLOTToken type: slot #static intTT_SLOTSEQUENCEToken type: slot sequence ##static intTT_STRINGToken type: string surrounded by "...."
-
Constructor Summary
Constructors Constructor and Description Scanner()Initialize Scanner without a math-expression
-
-
-
Field Detail
-
TT_EOF
public static final int TT_EOF
Token type: End-of_File- See Also:
- Constant Field Values
-
TT_FLOATING_POINT
public static final int TT_FLOATING_POINT
Token type: floating point number- See Also:
- Constant Field Values
-
TT_ARGUMENTS_OPEN
public static final int TT_ARGUMENTS_OPEN
Token type: opening bracket for function arguments- See Also:
- Constant Field Values
-
TT_ARGUMENTS_CLOSE
public static final int TT_ARGUMENTS_CLOSE
Token type: closing bracket for function arguments- See Also:
- Constant Field Values
-
TT_PRECEDENCE_OPEN
public static final int TT_PRECEDENCE_OPEN
Token type: opening bracket '(' for sub-formulas with higher precedence- See Also:
- Constant Field Values
-
TT_PRECEDENCE_CLOSE
public static final int TT_PRECEDENCE_CLOSE
Token type: closing bracket ')' for sub-formulas with higher precedence- See Also:
- Constant Field Values
-
TT_LIST_OPEN
public static final int TT_LIST_OPEN
Token type: opening curly braces '{' for starting lists- See Also:
- Constant Field Values
-
TT_LIST_CLOSE
public static final int TT_LIST_CLOSE
Token type: closing curly braces '}' for ending lists- See Also:
- Constant Field Values
-
TT_PARTOPEN
public static final int TT_PARTOPEN
Token type: opening brackets for starting the "index part" of an expression- See Also:
- Constant Field Values
-
TT_PARTCLOSE
public static final int TT_PARTCLOSE
Token type: closing brackets for ending the "index part" of an expression- See Also:
- Constant Field Values
-
TT_OPERATOR
public static final int TT_OPERATOR
Token type: operator found in input string- See Also:
- Constant Field Values
-
TT_COMMA
public static final int TT_COMMA
',' operator- See Also:
- Constant Field Values
-
TT_PERCENT
public static final int TT_PERCENT
'%' operator- See Also:
- Constant Field Values
-
TT_STRING
public static final int TT_STRING
Token type: string surrounded by "...."- See Also:
- Constant Field Values
-
TT_BLANK
public static final int TT_BLANK
Token type: pattern placeholder '_'- See Also:
- Constant Field Values
-
TT_IDENTIFIER
public static final int TT_IDENTIFIER
Token type: identifier name- See Also:
- Constant Field Values
-
TT_DIGIT
public static final int TT_DIGIT
Token type: digit 0,1,2,3,4,5,6,7,8,9- See Also:
- Constant Field Values
-
TT_SLOT
public static final int TT_SLOT
Token type: slot #- See Also:
- Constant Field Values
-
TT_SLOTSEQUENCE
public static final int TT_SLOTSEQUENCE
Token type: slot sequence ##- See Also:
- Constant Field Values
-
TT_BLANK_BLANK
public static final int TT_BLANK_BLANK
- See Also:
- Constant Field Values
-
TT_BLANK_BLANK_BLANK
public static final int TT_BLANK_BLANK_BLANK
- See Also:
- Constant Field Values
-
TT_BLANK_OPTIONAL
public static final int TT_BLANK_OPTIONAL
Token type: pattern placeholder '_.'- See Also:
- Constant Field Values
-
TT_DERIVATIVE
public static final int TT_DERIVATIVE
- See Also:
- Constant Field Values
-
-
DMelt 3.0 © DataMelt by jWork.ORG