/** * Configuration property: Parser listener. * * @see Parser#PARSER_listener * @return * Class used to listen for errors and warnings that occur during parsing. */ protected final Class<? extends ParserListener> getListenerClass() { return ctx.getListenerClass(); } }
/** * Configuration property: Parser listener. * * @see Parser#PARSER_listener * @return * Class used to listen for errors and warnings that occur during parsing. */ protected final Class<? extends ParserListener> getListenerClass() { return ctx.getListenerClass(); } }
/** * Configuration property: Parser listener. * * @see Parser#PARSER_listener * @return * Class used to listen for errors and warnings that occur during parsing. */ protected final Class<? extends ParserListener> getListenerClass() { return ctx.getListenerClass(); } }
/** * Create a new session using properties specified in the context. * * @param ctx * The context creating this session object. * The context contains all the configuration settings for this object. * @param args * Runtime session arguments. */ protected ParserSession(Parser ctx, ParserSessionArgs args) { super(ctx, args == null ? ParserSessionArgs.DEFAULT : args); args = args == null ? ParserSessionArgs.DEFAULT : args; this.ctx = ctx; javaMethod = args.javaMethod; outer = args.outer; listener = getInstanceProperty(PARSER_listener, ParserListener.class, ctx.getListenerClass()); }
/** * Create a new session using properties specified in the context. * * @param ctx * The context creating this session object. * The context contains all the configuration settings for this object. * @param args * Runtime session arguments. */ protected ParserSession(Parser ctx, ParserSessionArgs args) { super(ctx, args == null ? ParserSessionArgs.DEFAULT : args); args = args == null ? ParserSessionArgs.DEFAULT : args; this.ctx = ctx; javaMethod = args.javaMethod; outer = args.outer; listener = getInstanceProperty(PARSER_listener, ParserListener.class, ctx.getListenerClass()); }
/** * Create a new session using properties specified in the context. * * @param ctx * The context creating this session object. * The context contains all the configuration settings for this object. * @param args * Runtime session arguments. */ protected ParserSession(Parser ctx, ParserSessionArgs args) { super(ctx, args == null ? ParserSessionArgs.DEFAULT : args); args = args == null ? ParserSessionArgs.DEFAULT : args; this.ctx = ctx; javaMethod = args.javaMethod; outer = args.outer; listener = getInstanceProperty(PARSER_listener, ParserListener.class, ctx.getListenerClass()); }