sl
Class SL0Parser
java.lang.Object
sl.SL0Parser
- All Implemented Interfaces:
- SL0ParserConstants
- public class SL0Parser
- extends java.lang.Object
- implements SL0ParserConstants
| Fields inherited from interface sl.SL0ParserConstants |
ACTION, DATETIME, DEFAULT, EOF, FLOATONE, FLOATTWO, HEXINTEGER, INTEGER, LBRACE, PARAMETERNAME, RBRACE, STRING_LITERAL, tokenImage, WORD |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public SL0ParserTokenManager token_source
jj_input_stream
ASCII_UCodeESC_CharStream jj_input_stream
token
public Token token
jj_nt
public Token jj_nt
jj_ntk
private int jj_ntk
jj_gen
private int jj_gen
jj_la1
private final int[] jj_la1
jj_la1_0
private final int[] jj_la1_0
jj_expentries
private java.util.Vector jj_expentries
jj_expentry
private int[] jj_expentry
jj_kind
private int jj_kind
SL0Parser
public SL0Parser(java.io.InputStream stream)
SL0Parser
public SL0Parser(java.io.Reader stream)
SL0Parser
public SL0Parser(SL0ParserTokenManager tm)
parse
public java.util.List parse(java.lang.String s)
throws ParseException,
TokenMgrError
- Returns:
- a List of Frame, each Frame represents an element of a t-uple
- Throws:
ParseException
TokenMgrError
main
public static void main(java.lang.String[] args)
SL0Content
public final java.util.List SL0Content()
throws ParseException
- This production rule represents the more general expression that can
serve as content for an ACL message. Since different communicative
acts have different content (action expressions for
request, predicate for inform, etc.), any
allowed SL content expression can be parsed from here.
- Throws:
ParseException
ContentExpression
public final Frame ContentExpression()
throws ParseException
- Throws:
ParseException
Wff
public final Frame Wff()
throws ParseException
- Throws:
ParseException
Term
public final java.lang.Object Term()
throws ParseException
- Throws:
ParseException
ActionExpression
public final Frame ActionExpression()
throws ParseException
- Throws:
ParseException
FunctionalTermParams
public final void FunctionalTermParams(Frame result)
throws ParseException
- Throws:
ParseException
Parameter
public final void Parameter(Frame result)
throws ParseException
- Notice that this production, as a side effect, also adds a slot to result.
The initial char ':' is removed from the slotName
- Throws:
ParseException
String
public final java.lang.String String()
throws ParseException
String = WORD | STRING_LITERAL
- Throws:
ParseException
Number
public final java.lang.Object Number()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(SL0ParserTokenManager tm)
jj_consume_token
private final Token jj_consume_token(int kind)
throws ParseException
- Throws:
ParseException
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
jj_ntk
private final int jj_ntk()
generateParseException
public final ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.