Package jmri.jmrit.logixng.util.parser
Class Tokenizer
- java.lang.Object
-
- jmri.jmrit.logixng.util.parser.Tokenizer
-
public class Tokenizer extends java.lang.Object
Parses and calculates an expression, for example "sin(2*pi*x)/3"
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<Token>
getTokens(java.lang.String expression)
-
-
-
Method Detail
-
getTokens
public static java.util.List<Token> getTokens(java.lang.String expression) throws InvalidSyntaxException
- Throws:
InvalidSyntaxException
-
-