LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.grammar.CParserPlanBundle Class Reference

default planbundle parser More...

+ Inheritance diagram for org.lightjason.agentspeak.grammar.CParserPlanBundle:
+ Collaboration diagram for org.lightjason.agentspeak.grammar.CParserPlanBundle:

Public Member Functions

 CParserPlanBundle ( @Nonnull final Set< IAction > p_actions) throws NoSuchMethodException
 ctor More...
 
final IASTVisitorPlanBundle parse (final InputStream p_stream) throws Exception
 

Protected Member Functions

final Class< PlanBundleLexer > lexerclass ()
 
final Class< PlanBundleParser > parserclass ()
 
- Protected Member Functions inherited from org.lightjason.agentspeak.grammar.IBaseParser< IASTVisitorPlanBundle, PlanBundleLexer, PlanBundleParser >
 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 Set< IActionm_actions
 set with actions More...
 

Detailed Description

Definition at line 36 of file CParserPlanBundle.java.

Constructor & Destructor Documentation

◆ CParserPlanBundle()

org.lightjason.agentspeak.grammar.CParserPlanBundle.CParserPlanBundle ( @Nonnull final Set< IAction p_actions) throws NoSuchMethodException
Parameters
p_actionsagent actions
Exceptions
NoSuchMethodExceptionon ctor-method call

Definition at line 49 of file CParserPlanBundle.java.

Member Function Documentation

◆ lexerclass()

final Class<PlanBundleLexer> org.lightjason.agentspeak.grammar.CParserPlanBundle.lexerclass ( )
protected

Definition at line 65 of file CParserPlanBundle.java.

◆ parse()

final IASTVisitorPlanBundle org.lightjason.agentspeak.grammar.CParserPlanBundle.parse ( final InputStream  p_stream) throws Exception

Definition at line 57 of file CParserPlanBundle.java.

References org.lightjason.agentspeak.grammar.IBaseParser< IASTVisitorPlanBundle, PlanBundleLexer, PlanBundleParser >.parser().

Referenced by org.lightjason.agentspeak.generator.IBasePlanBundleGenerator.IBasePlanBundleGenerator().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parserclass()

final Class<PlanBundleParser> org.lightjason.agentspeak.grammar.CParserPlanBundle.parserclass ( )
protected

Definition at line 71 of file CParserPlanBundle.java.

Member Data Documentation

◆ m_actions

final Set<IAction> org.lightjason.agentspeak.grammar.CParserPlanBundle.m_actions
private

Definition at line 41 of file CParserPlanBundle.java.