public class ACLParser extends Object implements ACLParserConstants
Modifier and Type | Field and Description |
---|---|
private Vector |
jj_expentries |
private int[] |
jj_expentry |
private int |
jj_gen |
(package private) SimpleCharStream |
jj_input_stream |
private int |
jj_kind |
private int[] |
jj_la1 |
private static int[] |
jj_la1_0 |
private static int[] |
jj_la1_1 |
Token |
jj_nt |
private int |
jj_ntk |
(package private) ACLMessage |
msg |
Token |
token |
ACLParserTokenManager |
token_source |
ADDRESSES, AID, AIDSTATE, CONTENT, CONTENTSTATE, CONVERSATION_ID, DATETIME, DEFAULT, DIGIT, ENCODING, END, EOF, FLOATONE, FLOATTWO, IN_REPLY_TO, INTEGER, LANGUAGE, LBRACE, LBRACE2, MESSAGEPARAMETERSTATE, MESSAGETYPE, MESSAGETYPESTATE, NAME, ONTOLOGY, PREFIXBYTELENGTHENCODEDSTRING, PROTOCOL, RBRACE, RBRACE2, RECEIVER, REPLY_BY, REPLY_TO, REPLY_WITH, RESOLVERS, SENDER, SEQUENCE, SET, START, STRINGLITERAL, tokenImage, USERDEFINEDPARAM, USERDEFINEDSLOT, WORD
Constructor and Description |
---|
ACLParser(ACLParserTokenManager tm) |
ACLParser(InputStream stream) |
ACLParser(Reader stream) |
Modifier and Type | Method and Description |
---|---|
AID |
AgentIdentifier() |
String |
ByteLengthEncodedString() |
String |
Content() |
static ACLParser |
create() |
String |
DateTimeToken() |
String |
Digit() |
void |
disable_tracing() |
void |
enable_tracing() |
String |
Expression() |
String |
Float() |
ParseException |
generateParseException() |
Token |
getNextToken() |
Token |
getToken(int index) |
String |
Integer() |
private Token |
jj_consume_token(int kind) |
private static void |
jj_la1_0() |
private static void |
jj_la1_1() |
private int |
jj_ntk() |
static void |
main(String[] args) |
ACLMessage |
Message() |
void |
MessageParameter() |
void |
MessageType() |
String |
Number() |
ACLMessage |
parse(Reader text) |
AID |
parseAID(Reader text) |
void |
ReInit(ACLParserTokenManager tm) |
void |
ReInit(InputStream stream) |
void |
ReInit(Reader stream) |
String |
Stringa() |
String |
StringLiteral() |
private String |
trimQuotes(String s) |
private String |
unescape(String s) |
String |
Word() |
ACLMessage msg
public ACLParserTokenManager token_source
SimpleCharStream jj_input_stream
public Token token
public Token jj_nt
private int jj_ntk
private int jj_gen
private final int[] jj_la1
private static int[] jj_la1_0
private static int[] jj_la1_1
private Vector jj_expentries
private int[] jj_expentry
private int jj_kind
public ACLParser(InputStream stream)
public ACLParser(Reader stream)
public ACLParser(ACLParserTokenManager tm)
public static void main(String[] args) throws ParseException
ParseException
public static ACLParser create()
public ACLMessage parse(Reader text) throws ParseException
ParseException
public AID parseAID(Reader text) throws ParseException
ParseException
private String trimQuotes(String s) throws ParseException
ParseException
private String unescape(String s) throws ParseException
ParseException
public final ACLMessage Message() throws ParseException
ParseException
public final void MessageType() throws ParseException
ParseException
public final void MessageParameter() throws ParseException
ParseException
public final String Content() throws ParseException
ParseException
public final AID AgentIdentifier() throws ParseException
ParseException
public final String Expression() throws ParseException
ParseException
public final String Word() throws ParseException
ParseException
public final String Stringa() throws ParseException
ParseException
public final String StringLiteral() throws ParseException
ParseException
public final String ByteLengthEncodedString() throws ParseException
ParseException
public final String Number() throws ParseException
ParseException
public final String DateTimeToken() throws ParseException
ParseException
public final String Digit() throws ParseException
ParseException
public final String Integer() throws ParseException
ParseException
public final String Float() throws ParseException
ParseException
private static void jj_la1_0()
private static void jj_la1_1()
public void ReInit(InputStream stream)
public void ReInit(Reader stream)
public void ReInit(ACLParserTokenManager tm)
private final Token jj_consume_token(int kind) throws ParseException
ParseException
public final Token getNextToken()
public final Token getToken(int index)
private final int jj_ntk()
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()