@@ -56,32 +56,35 @@ public class Token {
5656
5757 /** Datatypes (int, boolean, etc.) */
5858 public static final byte KEYWORD5 = 10 ;
59+
60+ /** Keywords which can be followed by parenthesis */
61+ public static final byte KEYWORD6 = 11 ;
5962
6063 /** Functions */
61- public static final byte FUNCTION1 = 11 ;
64+ public static final byte FUNCTION1 = 12 ;
6265
6366 /** Methods (functions inside a class) */
64- public static final byte FUNCTION2 = 12 ;
67+ public static final byte FUNCTION2 = 13 ;
6568
6669 /** Loop/function-like blocks (for, while, etc.) */
67- public static final byte FUNCTION3 = 13 ;
70+ public static final byte FUNCTION3 = 14 ;
6871
6972 /** Built-in Processing functions (setup, draw, mouseDragged). */
70- public static final byte FUNCTION4 = 14 ;
73+ public static final byte FUNCTION4 = 15 ;
7174
7275 /**
7376 * Operator token id. This can be used to mark an
7477 * operator. (eg, SQL mode marks +, -, etc with this
7578 * token type)
7679 */
77- public static final byte OPERATOR = 15 ;
80+ public static final byte OPERATOR = 16 ;
7881
7982 /**
8083 * Invalid token id. This can be used to mark invalid
8184 * or incomplete tokens, so the user can easily spot
8285 * syntax errors.
8386 */
84- public static final byte INVALID = 16 ;
87+ public static final byte INVALID = 17 ;
8588
8689 /** The total number of defined token ids. */
8790 public static final byte ID_COUNT = INVALID + 1 ;
0 commit comments