use of com.taobao.weex.el.parse.Parser in project incubator-weex by apache.
the class ParserTest method testOperator.
public void testOperator() {
Parser parser = new Parser("(1 + 3)/3*3");
Token block = parser.parse();
System.out.println(block.execute(null));
System.out.println(block);
Parser parser2 = new Parser("1 + +++");
block = parser2.parse();
System.out.println(block);
String[] values = { null, null };
for (Object value : values) {
System.out.println(value + "ddd");
}
}
Aggregations