| 1 package org.jicengine.expression; 2 3 import org.jicengine.operation.Operation; 4 5 16 17 public interface Parser { 18 19 public static char OPERATION_SEPARATOR = new String (".").charAt(0); 20 public static char METHOD_PARAMS_START = new String ("(").charAt(0); 21 public static char METHOD_PARAMS_END = new String (")").charAt(0); 22 public static char ARRAY_LENGTH_START = new String ("[").charAt(0); 23 public static char ARRAY_LENGTH_END = new String ("]").charAt(0); 24 25 public static String BOOLEAN_TRUE = new String ("true"); 26 public static String BOOLEAN_FALSE = new String ("false"); 27 public static char STRING_MARKER = new String ("'").charAt(0); 28 29 38 public Operation parse(String expression) throws SyntaxException; 39 40 } 41 | Popular Tags |