24 package org.lightjason.agentspeak.grammar;
28 import javax.annotation.Nonnull;
29 import java.io.InputStream;
49 public CParserAgent( @Nonnull
final Set<IAction> p_actions )
throws NoSuchMethodException
52 m_actions = p_actions;
60 l_visitor.visit( this.
parser( p_stream ).agent() );
67 return AgentLexer.class;
73 return AgentParser.class;
CParserAgent( @Nonnull final Set< IAction > p_actions)
ctor
final IASTVisitorAgent parse(final InputStream p_stream)
final Set< IAction > m_actions
set with actions
AntLR error lister to catch parser and lexer errors with individual error handling and language trans...
visitor interface of the abstract-syntax-tree (AST) for an agent
default abstract-syntax-tree (AST) visitor for agent scripts
external action interface
final Class< AgentLexer > lexerclass()
final Class< AgentParser > parserclass()
final P parser(@Nonnull final InputStream p_stream)
returns a parser component