/zpath/trunk/src/ak/zpath/Token.java |
---|
16,6 → 16,7 |
public static final int TOKEN_NEW = 12; |
public static final int TOKEN_NAME = 13; |
public static final int TOKEN_APPEND = 14; |
public static final int TOKEN_INDEX = 15; |
private int type; |
private int pos; |
60,6 → 61,7 |
case Token.TOKEN_OR: return "or"; |
case Token.TOKEN_NEW: return "new"; |
case Token.TOKEN_NAME: return "name [" + value + "]"; |
case Token.TOKEN_INDEX: return "index [" + value + "]"; |
default: throw new RuntimeException("Unknown token type: " + type); |
} |
} |