| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The SL0Parser is used to parse a string that has the
format of an SL0ContentExpression as defined by fipa97.
For parsing to occur, the string should be converted
to a StringReader and then passed to the constructor
of the SLParser. Alternatively the static method parse()
may be used to do this for the user.
Inner Class Summary | |
(package private) static class | SL0Parser.JJCalls |
Field Summary | |
(package private) ASCII_CharStream | jj_input_stream |
Token | jj_nt |
boolean | lookingAhead |
Token | token |
SL0ParserTokenManager | token_source |
Constructor Summary | |
SL0Parser(java.io.InputStream stream) | |
SL0Parser(java.io.Reader stream) | |
SL0Parser(SL0ParserTokenManager tm) |
Method Summary | |
final void | ACLCommunicativeActWithoutLParen() ACLCommunicativeAct is parsed using the fipaos.parser.acl.string.ACLParser generated externally. |
final void | AgentName() |
final void | disable_tracing() |
final void | enable_tracing() |
final ParseException | generateParseException() |
final Token | getNextToken() |
final Token | getToken(int index) |
static void | main(String[] args) Test Harness method where a file of strings is parsed. |
final void | NumericalConstant() |
static void | parse(String sl0_content_expression) parse method is the preferred method for parsing an acl message string. |
void | ReInit(java.io.InputStream stream) |
void | ReInit(java.io.Reader stream) |
void | ReInit(SL0ParserTokenManager tm) |
(package private) String | skip_to_matching_paren() |
final void | SL0ActionExpression() |
final void | SL0ActionExpressionFactored() The production obtained by left-factorising SLActionExpression |
final void | SL0ActionOp() |
final void | SL0AtomicFormula() |
final void | SL0AtomicFormulaFactored() The production obtained by left-factorising SLAtomicFormula for the beginning parenthesis. |
final void | SL0ContentExpression() |
final void | SL0FunctionalTerm() |
final void | SL0Term() |
final void | SL0Wff() |
final void | SLAgent() |
final void | SLConstant() |
final void | SLFunctionSymbol() |
final void | SLPredicateSymbol() |
final void | SLPropositionSymbol() |
final void | SLVariable() |
Field Detail |
ASCII_CharStream jj_input_stream
public Token jj_nt
public boolean lookingAhead
public Token token
public SL0ParserTokenManager token_source
Constructor Detail |
public SL0Parser(java.io.InputStream stream)
public SL0Parser(java.io.Reader stream)
public SL0Parser(SL0ParserTokenManager tm)
Method Detail |
public final void ACLCommunicativeActWithoutLParen()
throws ParseException
public final void AgentName()
throws ParseException
public final void disable_tracing()
public final void enable_tracing()
public final ParseException generateParseException()
public final Token getNextToken()
public final Token getToken(int index)
public static void main(String[] args)
throws java.lang.Exception
public final void NumericalConstant()
throws ParseException
public static void parse(String sl0_content_expression)
throws ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.Reader stream)
public void ReInit(SL0ParserTokenManager tm)
String skip_to_matching_paren()
throws ParseException
public final void SL0ActionExpression()
throws ParseException
public final void SL0ActionExpressionFactored()
throws ParseException
public final void SL0ActionOp()
throws ParseException
public final void SL0AtomicFormula()
throws ParseException
public final void SL0AtomicFormulaFactored()
throws ParseException
public final void SL0ContentExpression()
throws ParseException
public final void SL0FunctionalTerm()
throws ParseException
public final void SL0Term()
throws ParseException
public final void SL0Wff()
throws ParseException
public final void SLAgent()
throws ParseException
public final void SLConstant()
throws ParseException
public final void SLFunctionSymbol()
throws ParseException
public final void SLPredicateSymbol()
throws ParseException
public final void SLPropositionSymbol()
throws ParseException
public final void SLVariable()
throws ParseException
Association Links |
to Class fipaos.parser.sl0.ASCII_CharStream
to Class fipaos.parser.sl0.Token
to Class fipaos.parser.sl0.Token
to Class fipaos.parser.sl0.SL0Parser.JJCalls
to Class java.util.Vector
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |