generic default parser
More...
|
| IBaseParser ( @Nonnull final ANTLRErrorListener p_errorlistener) throws NoSuchMethodException |
| ctor More...
|
|
abstract Class< L > | lexerclass () |
| returns the lexer class reference More...
|
|
final P | parser ( @Nonnull final InputStream p_stream) throws IOException, IllegalAccessException, InvocationTargetException, InstantiationException |
| returns a parser component More...
|
|
abstract Class< P > | parserclass () |
| returns the parser class reference More...
|
|
|
T | parse (final InputStream p_stream) throws Exception |
| parsing code More...
|
|
Definition at line 44 of file IBaseParser.java.
◆ IBaseParser()
- Parameters
-
p_errorlistener | listener instance |
- Exceptions
-
NoSuchMethodException | on ctor-method call |
Definition at line 66 of file IBaseParser.java.
◆ lexerclass()
◆ parser()
- Parameters
-
- Returns
- parser (for using in visitor interface)
- Exceptions
-
IOException | on io-stream errors |
IllegalAccessException | on lexer / parser method access error |
InvocationTargetException | on lexer / parser invocation error |
InstantiationException | on lexer / parser instantiation error |
Definition at line 84 of file IBaseParser.java.
Referenced by org.lightjason.agentspeak.language.CLiteral.CParser.parse().
◆ parserclass()
◆ m_ctorlexer
◆ m_ctorparser
◆ m_errorlistener