cc.redberry.core.parser
Interface TokenParser
-
- All Known Implementing Classes:
- ParserBrackets, ParserDerivative, ParserExpression, ParserFunctions, ParserNumber, ParserPower, ParserPowerAst, ParserProduct, ParserSimpleTensor, ParserSum, ParserTensorField
public interface TokenParserParser for tokens of a particular type.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description ParseTokenparseToken(java.lang.String expression, Parser parser)Parses the specified string expression and returns the corresponding AST node ornull, string can not be parsed by this parser.intpriority()The higher the priority, the earlier runs.
-
-
-
Method Detail
-
parseToken
ParseToken parseToken(java.lang.String expression, Parser parser)
Parses the specified string expression and returns the corresponding AST node ornull, string can not be parsed by this parser.- Parameters:
expression- string expressionparser- recursion- Returns:
- AST node
-
priority
int priority()
The higher the priority, the earlier runs.- Returns:
- priority
-
-
DataMelt 3.0 © DataMelt by jWork.ORG