src/main/java/com/virgo47/vexpressed/VexpressedUtils.java
static ParseTree createParseTree(String expression) {
		ExprLexer lexer = new ExprLexer(CharStreams.fromString(expression));
		CommonTokenStream tokens = new CommonTokenStream(lexer);
		ExprParser parser = new ExprParser(tokens);
		parser.removeErrorListeners();
		parser.addErrorListener(ERROR_LISTENER);
		return parser.result();
	}
/**
	 * Parses expression and returns the {@link ParseTree} for further usage. This is
	 * slow operation compared to evaluation itself, so it is recommended to cache parse
	 * trees for repeated evaluations of the same expression.
	 */
Parses expression and returns the  ParseTree for further usage. This is
slow operation compared to evaluation itself, so it is recommended to cache parse
trees for repeated evaluations of the same expression.
Parses expression and returns the ParseTree for further usage . This is slow operation compared to evaluation itself so it is recommended to cache parse trees for repeated evaluations of the same expression .
static ParseTree createParseTree(String expression) {
		ExprLexer lexer = new ExprLexer(CharStreams.fromString(expression));
		CommonTokenStream tokens = new CommonTokenStream(lexer);
		ExprParser parser = new ExprParser(tokens);
		parser.removeErrorListeners();
		parser.addErrorListener(ERROR_LISTENER);
		return parser.result();
	}
static ParseTree createParseTree ( String expression ) { ExprLexer lexer = new ExprLexer ( CharStreams . fromString ( expression ) ) ; CommonTokenStream tokens = new CommonTokenStream ( lexer ) ; ExprParser parser = new ExprParser ( tokens ) ; parser . removeErrorListeners ( ) ; parser . addErrorListener ( ERROR_LISTENER ) ; return parser . result ( ) ; }
Parses expression and returns the {@link ParseTree} for further usage.
Parses expression and returns the { @link ParseTree } for further usage .