|
LightJason - AgentSpeak(L++)
|
generic default parser More...
Inheritance diagram for org.lightjason.agentspeak.grammar.IBaseParser< T extends IASTVisitor, L extends Lexer, P extends Parser >:
Collaboration diagram for org.lightjason.agentspeak.grammar.IBaseParser< T extends IASTVisitor, L extends Lexer, P extends Parser >:Protected Member Functions | |
| 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... | |
Private Attributes | |
| final Constructor< L > | m_ctorlexer |
| ctor lexer reference More... | |
| final Constructor< P > | m_ctorparser |
| ctor parser reference More... | |
| final ANTLRErrorListener | m_errorlistener |
| error listener More... | |
Additional Inherited Members | |
Public Member Functions inherited from org.lightjason.agentspeak.grammar.IParser< T > | |
| T | parse (final InputStream p_stream) throws Exception |
| parsing code More... | |
Definition at line 44 of file IBaseParser.java.
|
protected |
| p_errorlistener | listener instance |
| NoSuchMethodException | on ctor-method call |
Definition at line 66 of file IBaseParser.java.
|
abstractprotected |
Referenced by org.lightjason.agentspeak.grammar.IBaseParser< IASTVisitorType, TypeLexer, TypeParser >.IBaseParser(), and org.lightjason.agentspeak.grammar.IBaseParser< IASTVisitorType, TypeLexer, TypeParser >.parser().
Here is the caller graph for this function:
|
protected |
| p_stream | input stream |
| 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().
Here is the caller graph for this function:
|
abstractprotected |
Referenced by org.lightjason.agentspeak.grammar.IBaseParser< IASTVisitorType, TypeLexer, TypeParser >.IBaseParser(), and org.lightjason.agentspeak.grammar.IBaseParser< IASTVisitorType, TypeLexer, TypeParser >.parser().
Here is the caller graph for this function:
|
private |
Definition at line 53 of file IBaseParser.java.
|
private |
Definition at line 57 of file IBaseParser.java.
|
private |
Definition at line 49 of file IBaseParser.java.