/** Constructor with InputStream and supplied encoding */ public StrictParser(java.io.InputStream stream, String encoding) { try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); } token_source = new StrictParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; }
ReInitRounds(); if (curChar < 64) jjCheckNAddStates(0, 3); else if (curChar == 36) jjCheckNAdd(27); jjCheckNAddStates(4, 6); else if (curChar == 46) jjCheckNAdd(17); else if (curChar == 47) jjstateSet[jjnewStateCnt++] = 6; jjCheckNAddTwoStates(14, 15); jjCheckNAddTwoStates(40, 42); jjCheckNAddStates(7, 9); break; case 1: if ((0xffffffffffffdbffL & l) != 0L) jjCheckNAddStates(7, 9); break; case 2: case 6: if (curChar == 42) jjCheckNAddTwoStates(7, 8);
/** Get the next Token. */ final public Token getNextToken() { if (token.next != null) token = token.next; else token = token.next = token_source.getNextToken(); jj_ntk = -1; return token; }
private void jjCheckNAddStates(int start, int end) { do { jjCheckNAdd(jjnextStates[start]); } while (start++ != end); }
/** Reinitialise. */ public void ReInit(java.io.InputStream stream, String encoding) { try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); } token_source.ReInit(jj_input_stream); token = new Token(); jj_ntk = -1; }
/** Reinitialise parser. */ public void ReInit(SimpleCharStream stream) { jjmatchedPos = jjnewStateCnt = 0; curLexState = defaultLexState; input_stream = stream; ReInitRounds(); } private void ReInitRounds()
/** Constructor. */ public StrictParserTokenManager(SimpleCharStream stream, int lexState){ this(stream); SwitchTo(lexState); }
/** Get the specific Token. */ final public Token getToken(int index) { Token t = token; for (int i = 0; i < index; i++) { if (t.next != null) t = t.next; else t = t.next = token_source.getNextToken(); } return t; }
private void jjCheckNAddTwoStates(int state1, int state2) { jjCheckNAdd(state1); jjCheckNAdd(state2); }
/** Reinitialise. */ public void ReInit(java.io.Reader stream) { jj_input_stream.ReInit(stream, 1, 1); token_source.ReInit(jj_input_stream); token = new Token(); jj_ntk = -1; }
/** Reinitialise parser. */ public void ReInit(SimpleCharStream stream) { jjmatchedPos = jjnewStateCnt = 0; curLexState = defaultLexState; input_stream = stream; ReInitRounds(); } private void ReInitRounds()
/** Constructor. */ public StrictParserTokenManager(SimpleCharStream stream, int lexState){ this(stream); SwitchTo(lexState); }
ReInitRounds(); if (curChar < 64) jjCheckNAddStates(0, 3); else if (curChar == 36) jjCheckNAdd(27); jjCheckNAddStates(4, 6); else if (curChar == 46) jjCheckNAdd(17); else if (curChar == 47) jjstateSet[jjnewStateCnt++] = 6; jjCheckNAddTwoStates(14, 15); jjCheckNAddTwoStates(40, 42); jjCheckNAddStates(7, 9); break; case 1: if ((0xffffffffffffdbffL & l) != 0L) jjCheckNAddStates(7, 9); break; case 2: case 6: if (curChar == 42) jjCheckNAddTwoStates(7, 8);
private int jj_ntk() { if ((jj_nt=token.next) == null) return (jj_ntk = (token.next=token_source.getNextToken()).kind); else return (jj_ntk = jj_nt.kind); }
private void jjCheckNAddTwoStates(int state1, int state2) { jjCheckNAdd(state1); jjCheckNAdd(state2); }
/** Reinitialise. */ public void ReInit(java.io.InputStream stream, String encoding) { try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); } token_source.ReInit(jj_input_stream); token = new Token(); jj_ntk = -1; }
/** Constructor. */ public StrictParser(java.io.Reader stream) { jj_input_stream = new SimpleCharStream(stream, 1, 1); token_source = new StrictParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; }
/** Reinitialise parser. */ public void ReInit(SimpleCharStream stream) { jjmatchedPos = jjnewStateCnt = 0; curLexState = defaultLexState; input_stream = stream; ReInitRounds(); } private void ReInitRounds()