/** Constructor. */ public DADLParser(java.io.Reader stream) { jj_input_stream = new SimpleCharStream(stream, 1, 1); token_source = new DADLParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 57; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); }
/** 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; jj_gen = 0; for (int i = 0; i < 57; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); }
final public ComplexObjectBlock complex_object_block() throws ParseException { ComplexObjectBlock obj; if (jj_2_3(2147483647)) { obj = single_attr_object_block(); } else if (jj_2_4(2147483647)) { obj = multiple_attr_object_block(); } else { jj_consume_token(-1); throw new ParseException(); } {if (true) return obj;} throw new Error("Missing return statement in function"); }
final public ObjectBlock object_block() throws ParseException { ObjectBlock object; if (jj_2_5(2147483647)) { object = complex_object_block(); } else if (jj_2_6(2147483647)) { object = primitive_object_block(); } else { jj_consume_token(-1); throw new ParseException(); } {if (true) return object;} throw new Error("Missing return statement in function"); }
final public KeyedObject keyed_object() throws ParseException { SimpleValue key; ObjectBlock object; key = object_key(); jj_consume_token(SYM_EQ); object = object_block(); {if (true) return new KeyedObject(key, object);} throw new Error("Missing return statement in function"); }
final public AttributeValue attr_val() throws ParseException { String id; ObjectBlock value; id = attribute_identifier(); jj_consume_token(SYM_EQ); value = object_block(); {if (true) return new AttributeValue(id, value);} throw new Error("Missing return statement in function"); }
final public ComplexObjectBlock complex_object_block() throws ParseException { ComplexObjectBlock obj; if (jj_2_3(2147483647)) { obj = single_attr_object_block(); } else if (jj_2_4(2147483647)) { obj = multiple_attr_object_block(); } else { jj_consume_token(-1); throw new ParseException(); } {if (true) return obj;} throw new Error("Missing return statement in function"); }
final public ObjectBlock object_block() throws ParseException { ObjectBlock object; if (jj_2_5(2147483647)) { object = complex_object_block(); } else if (jj_2_6(2147483647)) { object = primitive_object_block(); } else { jj_consume_token(-1); throw new ParseException(); } {if (true) return object;} throw new Error("Missing return statement in function"); }
/** Constructor. */ public DADLParser(java.io.Reader stream) { jj_input_stream = new SimpleCharStream(stream, 1, 1); token_source = new DADLParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 57; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); }
/** 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; jj_gen = 0; for (int i = 0; i < 57; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); }
final public KeyedObject keyed_object() throws ParseException { SimpleValue key; ObjectBlock object; key = object_key(); jj_consume_token(SYM_EQ); object = object_block(); {if (true) return new KeyedObject(key, object);} throw new Error("Missing return statement in function"); }
final public AttributeValue attr_val() throws ParseException { String id; ObjectBlock value; id = attribute_identifier(); jj_consume_token(SYM_EQ); value = object_block(); {if (true) return new AttributeValue(id, value);} throw new Error("Missing return statement in function"); }
/** Constructor with InputStream and supplied encoding */ public DADLParser(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 DADLParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 57; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); }
/** 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; jj_gen = 0; for (int i = 0; i < 57; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); }
/** Constructor with InputStream and supplied encoding */ public DADLParser(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 DADLParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 57; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); }
/** 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; jj_gen = 0; for (int i = 0; i < 57; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); }