zeus.concepts
Class Parser
java.lang.Object
zeus.concepts.Parser
- All Implemented Interfaces:
- ParserConstants
- public class Parser
- extends java.lang.Object
- implements ParserConstants
| Fields inherited from interface zeus.concepts.ParserConstants |
ABILITIES, ABILITY, ACHIEVE, ACQUAINTANCES, ADDRESS_OUTPUT_FILE, AGENT, AGENTS, AMOUNT, AND, ASEP, ASSERT, ASSERT_GOAL, ATTRIBUTE, ATTRIBUTES, BEGIN_AGENT_ICON_INDEX, BEGIN_AGENT_LIST, BEGIN_AGENT_NAME_INDEX, BEGIN_DBPROXY_LIST, BEGIN_FACILITATOR_LIST, BEGIN_GENERATIONPLAN, BEGIN_GENERATOR, BEGIN_NAMESERVER_LIST, BEGIN_PREAMBLE, BEGIN_TASK_LIST, BEGIN_TASK_NAME_INDEX, BEGIN_VISUALISER_LIST, BEHAVIOUR, BIND, BOOLEAN, BUY, CALL, CCHR, CHILDREN, CLASS, CLOSE, COMMA, COMMS_KEY, CONFIRM_TIME, CONSTRAINTS, CONSUMED, CONSUMED_FACTS, CONSUMER, CONSUMER_ID, CONSUMER_RECORDS, CONTEXT, COST, DATABASE, DATE, DECIMAL, DECOMPOSITIONS, DEFAULT, DESIRED, DIGIT, DIRECTORY, DIVIDE, DNS_FILE, DO, DOUBLE_BOOK_FRACTION, ELSE, END_AGENT_ICON_INDEX, END_AGENT_LIST, END_AGENT_NAME_INDEX, END_DBPROXY_LIST, END_FACILITATOR_LIST, END_GENERATIONPLAN, END_GENERATOR, END_NAMESERVER_LIST, END_PREAMBLE, END_TASK_LIST, END_TASK_NAME_INDEX, END_TIME, END_VISUALISER_LIST, EOF, EQ, EXECUTE, EXPONENT, EXTERNAL, FACT, FACT_MARKER, FID, FIELD, FORMAL_COMMENT, GE, GENERATE, GIVEN, GOAL, GOAL_ID, GOALS, GROUP, GT, HAS_GUI, HASHTABLE, HOST, ID, IF, IMAGE, IMAGES, IMPLIES, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INITIAL_FACTS, INTEGER, INTERNAL, INVOCATIONS, IS_AUTORUN, IS_CONDITIONAL, IS_ROOT, ITEM, LBRACKET, LCURLY, LE, LEFT_ARG, LEFT_GROUP, LEFT_NODE, LETTER, LHS, LINK, LINKS, LITERAL, LT, MEDIA, MESSAGE, MINUS, MODIFIERS, MODIFY, MULTI_LINE_COMMENT, MULTIPLY, NAME, NE, NEGATION, NODES, NOT, OBJECT, OK, ONTOLOGY, OPAQUE, OPEN, OR, ORDERING, OWNER, PARAMETERS, PARENT, PARENTS, PATH, PERIOD, PLANNER_LENGTH, PLANNER_WIDTH, PLATFORM, PLUS, PORT, POWER, PRIMITIVE, PRINT, PRINTLN, PRIORITY, PRODUCED_FACTS, PRODUCER, PRODUCER_ID, PRODUCER_RECORDS, PROTOCOLS, RBRACKET, RCURLY, READ, READLN, REAL, RELATION, RELATIONS, REMAINDER, REPLY_TIME, RESERVATIONS, RESTRICTIONS, RETRACT, RHS, RIGHT_ARG, RIGHT_GROUP, RIGHT_NODE, ROOT_ID, SCRIPT, SELL, SEND_MESSAGE, SIBLINGS, SINGLE_LINE_COMMENT, START, START_TIME, STATE, STATUS, STRATEGY, SUMMARY, SUPPLIER, SUPPLY_REF, SYSTEM, SYSTEM_CALL, TABLE, TASK, TASKS, TCOLON, TEST, THEN, TIME, TIME_GRAIN, TIMEFN, TIMEOUT, tokenImage, TYPE, UAND, UNOT, UOR, USE_REF, USER_DATA, USER_DATA_TYPE, VALUE, VARIABLE, VCHR, VECTOR, VERSION, WHILE, ZEUS_EXTERNAL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public ParserTokenManager token_source
jj_input_stream
SimpleCharStream jj_input_stream
token
public Token token
jj_nt
public Token jj_nt
jj_ntk
private int jj_ntk
jj_scanpos
private Token jj_scanpos
jj_lastpos
private Token jj_lastpos
jj_la
private int jj_la
lookingAhead
public boolean lookingAhead
jj_semLA
private boolean jj_semLA
jj_gen
private int jj_gen
jj_la1
private final int[] jj_la1
jj_la1_0
private final int[] jj_la1_0
jj_la1_1
private final int[] jj_la1_1
jj_la1_2
private final int[] jj_la1_2
jj_la1_3
private final int[] jj_la1_3
jj_la1_4
private final int[] jj_la1_4
jj_la1_5
private final int[] jj_la1_5
jj_la1_6
private final int[] jj_la1_6
jj_2_rtns
private final Parser.JJCalls[] jj_2_rtns
jj_rescan
private boolean jj_rescan
jj_gc
private int jj_gc
jj_expentries
private java.util.Vector jj_expentries
jj_expentry
private int[] jj_expentry
jj_kind
private int jj_kind
jj_lasttokens
private int[] jj_lasttokens
jj_endpos
private int jj_endpos
Parser
public Parser(java.io.InputStream stream)
Parser
public Parser(java.io.Reader stream)
Parser
public Parser(ParserTokenManager tm)
end_of_file
public final void end_of_file()
throws ParseException
- Throws:
ParseException
abilityDbItem
public final AbilityDbItem abilityDbItem(OntologyDb db)
throws ParseException
- Throws:
ParseException
abilityDbItemList
public final java.util.Vector abilityDbItemList(OntologyDb db)
throws ParseException
- Throws:
ParseException
abilitySpec
public final AbilitySpec abilitySpec(OntologyDb db)
throws ParseException
- Throws:
ParseException
abilitySpecList
public final java.util.Vector abilitySpecList(OntologyDb db)
throws ParseException
- Throws:
ParseException
restriction
public final Restriction restriction(OntologyDb db)
throws ParseException
- Throws:
ParseException
acquaintance
public final Acquaintance acquaintance(OntologyDb db)
throws ParseException
- Throws:
ParseException
address
public final Address address()
throws ParseException
- Throws:
ParseException
addressList
public final java.util.Vector addressList()
throws ParseException
- Throws:
ParseException
agentDescription
public final AgentDescription agentDescription(OntologyDb db)
throws ParseException
- Throws:
ParseException
consumerRecord
public final ConsumerRecord consumerRecord()
throws ParseException
- Throws:
ParseException
fact
public final Fact fact(OntologyDb db)
throws ParseException
- Throws:
ParseException
factList
public final java.util.Vector factList(OntologyDb db)
throws ParseException
- Throws:
ParseException
factSummary
public final FactSummary factSummary(OntologyDb db)
throws ParseException
- Throws:
ParseException
goal
public final Goal goal(OntologyDb db)
throws ParseException
- Throws:
ParseException
goalList
public final java.util.Vector goalList(OntologyDb db)
throws ParseException
- Throws:
ParseException
goalSummary
public final GoalSummary goalSummary()
throws ParseException
- Throws:
ParseException
producerRecord
public final ProducerRecord producerRecord()
throws ParseException
- Throws:
ParseException
protocolInfo
public final ProtocolInfo protocolInfo(OntologyDb db)
throws ParseException
- Throws:
ParseException
strategyInfo
public final StrategyInfo strategyInfo(OntologyDb db)
throws ParseException
- Throws:
ParseException
relationship
public final Relationship relationship()
throws ParseException
- Throws:
ParseException
relationshipList
public final java.util.Vector relationshipList()
throws ParseException
- Throws:
ParseException
reportRec
public final ReportRec reportRec(OntologyDb db)
throws ParseException
- Throws:
ParseException
reservationEntry
public final ReservationEntry reservationEntry()
throws ParseException
- Throws:
ParseException
routingRecord
public final RoutingRecord routingRecord()
throws ParseException
- Throws:
ParseException
suppliedDb
public final SuppliedDb suppliedDb(OntologyDb db)
throws ParseException
- Throws:
ParseException
suppliedItem
public final SuppliedItem suppliedItem(OntologyDb db)
throws ParseException
- Throws:
ParseException
resolutionContext
public final ResolutionContext resolutionContext(OntologyDb db)
throws ParseException
- Throws:
ParseException
abstractTask
public final AbstractTask abstractTask(OntologyDb db)
throws ParseException
- Throws:
ParseException
primitiveTask
public final PrimitiveTask primitiveTask(OntologyDb db)
throws ParseException
- Throws:
ParseException
summaryTask
public final SummaryTask summaryTask(OntologyDb db)
throws ParseException
- Throws:
ParseException
planScript
public final PlanScript planScript(OntologyDb db)
throws ParseException
- Throws:
ParseException
taskLink
public final TaskLink taskLink()
throws ParseException
- Throws:
ParseException
taskNode
public final TaskNode taskNode(OntologyDb db)
throws ParseException
- Throws:
ParseException
reteKB
public final AbstractTask reteKB(OntologyDb db)
throws ParseException
- Throws:
ParseException
reteRule
public final Rule reteRule(OntologyDb db)
throws ParseException
- Throws:
ParseException
retePattern
public final Pattern retePattern(OntologyDb db)
throws ParseException
- Throws:
ParseException
reteFactList
public final java.util.Vector reteFactList(OntologyDb db)
throws ParseException
- Throws:
ParseException
reteFact
public final ReteFact reteFact(OntologyDb db)
throws ParseException
- Throws:
ParseException
reteGoal
public final void reteGoal(OntologyDb db,
Action a)
throws ParseException
- Throws:
ParseException
messageAttribute
public final java.lang.String messageAttribute()
throws ParseException
- Throws:
ParseException
reteAction
public final Action reteAction(OntologyDb db)
throws ParseException
- Throws:
ParseException
retePatternList
public final java.util.Vector retePatternList(OntologyDb db)
throws ParseException
- Throws:
ParseException
reteActionList
public final java.util.Vector reteActionList(OntologyDb db)
throws ParseException
- Throws:
ParseException
taskSummary
public final TaskSummary taskSummary(OntologyDb db)
throws ParseException
- Throws:
ParseException
ordering
public final Ordering ordering()
throws ParseException
- Throws:
ParseException
agentInfo
public final AgentInfo agentInfo(GeneratorModel genmodel,
GenerationPlan genplan)
throws ParseException
- Throws:
ParseException
dbProxyInfo
public final DbProxyInfo dbProxyInfo()
throws ParseException
- Throws:
ParseException
facilitatorInfo
public final FacilitatorInfo facilitatorInfo(GenerationPlan genplan)
throws ParseException
- Throws:
ParseException
visualiserInfo
public final VisualiserInfo visualiserInfo(GenerationPlan genplan)
throws ParseException
- Throws:
ParseException
nameserverInfo
public final NameserverInfo nameserverInfo()
throws ParseException
- Throws:
ParseException
taskList
public final java.util.Vector taskList(OntologyDb db)
throws ParseException
- Throws:
ParseException
taskInfo
public final TaskInfo taskInfo(GeneratorModel genmodel)
throws ParseException
- Throws:
ParseException
generator
public final void generator(FileHandler filer,
GeneratorModel genmodel,
GenerationPlan genplan,
OntologyDb db,
java.lang.String dir)
throws ParseException
- Throws:
ParseException
Expression
public final ValueFunction Expression(OntologyDb db)
throws ParseException
- Throws:
ParseException
ConditionalOrExpression
public final ValueFunction ConditionalOrExpression(OntologyDb db)
throws ParseException
- Throws:
ParseException
ConditionalAndExpression
public final ValueFunction ConditionalAndExpression(OntologyDb db)
throws ParseException
- Throws:
ParseException
InclusiveOrExpression
public final ValueFunction InclusiveOrExpression(OntologyDb db)
throws ParseException
- Throws:
ParseException
AndExpression
public final ValueFunction AndExpression(OntologyDb db)
throws ParseException
- Throws:
ParseException
RelationalExpression
public final ValueFunction RelationalExpression(OntologyDb db)
throws ParseException
- Throws:
ParseException
AdditiveExpression
public final ValueFunction AdditiveExpression(OntologyDb db)
throws ParseException
- Throws:
ParseException
MultiplicativeExpression
public final ValueFunction MultiplicativeExpression(OntologyDb db)
throws ParseException
- Throws:
ParseException
UnaryExpression
public final ValueFunction UnaryExpression(OntologyDb db)
throws ParseException
- Throws:
ParseException
Literal
public final ValueFunction Literal(OntologyDb db)
throws ParseException
- Throws:
ParseException
expression_list
public final java.util.Vector expression_list(OntologyDb db)
throws ParseException
- Throws:
ParseException
function
public final ValueFunction function(OntologyDb db)
throws ParseException
- Throws:
ParseException
method
public final ValueFunction method(OntologyDb db)
throws ParseException
- Throws:
ParseException
constraint
public final ValueFunction constraint(ValueFunction fn,
OntologyDb db)
throws ParseException
- Throws:
ParseException
Real
public final double Real()
throws ParseException
- Throws:
ParseException
jj_2_1
private final boolean jj_2_1(int xla)
jj_2_2
private final boolean jj_2_2(int xla)
jj_2_3
private final boolean jj_2_3(int xla)
jj_2_4
private final boolean jj_2_4(int xla)
jj_2_5
private final boolean jj_2_5(int xla)
jj_2_6
private final boolean jj_2_6(int xla)
jj_2_7
private final boolean jj_2_7(int xla)
jj_2_8
private final boolean jj_2_8(int xla)
jj_2_9
private final boolean jj_2_9(int xla)
jj_2_10
private final boolean jj_2_10(int xla)
jj_2_11
private final boolean jj_2_11(int xla)
jj_2_12
private final boolean jj_2_12(int xla)
jj_2_13
private final boolean jj_2_13(int xla)
jj_2_14
private final boolean jj_2_14(int xla)
jj_2_15
private final boolean jj_2_15(int xla)
jj_2_16
private final boolean jj_2_16(int xla)
jj_2_17
private final boolean jj_2_17(int xla)
jj_2_18
private final boolean jj_2_18(int xla)
jj_2_19
private final boolean jj_2_19(int xla)
jj_2_20
private final boolean jj_2_20(int xla)
jj_2_21
private final boolean jj_2_21(int xla)
jj_2_22
private final boolean jj_2_22(int xla)
jj_2_23
private final boolean jj_2_23(int xla)
jj_3R_101
private final boolean jj_3R_101()
jj_3_13
private final boolean jj_3_13()
jj_3_6
private final boolean jj_3_6()
jj_3R_86
private final boolean jj_3R_86()
jj_3R_100
private final boolean jj_3R_100()
jj_3R_105
private final boolean jj_3R_105()
jj_3_5
private final boolean jj_3_5()
jj_3R_99
private final boolean jj_3R_99()
jj_3R_79
private final boolean jj_3R_79()
jj_3R_98
private final boolean jj_3R_98()
jj_3R_91
private final boolean jj_3R_91()
jj_3_19
private final boolean jj_3_19()
jj_3R_96
private final boolean jj_3R_96()
jj_3R_85
private final boolean jj_3R_85()
jj_3_11
private final boolean jj_3_11()
jj_3_12
private final boolean jj_3_12()
jj_3R_90
private final boolean jj_3R_90()
jj_3_4
private final boolean jj_3_4()
jj_3_18
private final boolean jj_3_18()
jj_3R_84
private final boolean jj_3R_84()
jj_3R_89
private final boolean jj_3R_89()
jj_3R_97
private final boolean jj_3R_97()
jj_3_10
private final boolean jj_3_10()
jj_3_3
private final boolean jj_3_3()
jj_3R_83
private final boolean jj_3R_83()
jj_3R_112
private final boolean jj_3R_112()
jj_3_9
private final boolean jj_3_9()
jj_3R_88
private final boolean jj_3R_88()
jj_3R_124
private final boolean jj_3R_124()
jj_3R_123
private final boolean jj_3R_123()
jj_3R_81
private final boolean jj_3R_81()
jj_3_23
private final boolean jj_3_23()
jj_3_2
private final boolean jj_3_2()
jj_3R_82
private final boolean jj_3R_82()
jj_3_22
private final boolean jj_3_22()
jj_3R_122
private final boolean jj_3R_122()
jj_3R_111
private final boolean jj_3R_111()
jj_3_17
private final boolean jj_3_17()
jj_3R_121
private final boolean jj_3R_121()
jj_3R_94
private final boolean jj_3R_94()
jj_3R_120
private final boolean jj_3R_120()
jj_3_16
private final boolean jj_3_16()
jj_3R_119
private final boolean jj_3R_119()
jj_3R_118
private final boolean jj_3R_118()
jj_3R_117
private final boolean jj_3R_117()
jj_3_1
private final boolean jj_3_1()
jj_3R_110
private final boolean jj_3R_110()
jj_3R_116
private final boolean jj_3R_116()
jj_3R_115
private final boolean jj_3R_115()
jj_3R_114
private final boolean jj_3R_114()
jj_3R_113
private final boolean jj_3R_113()
jj_3_15
private final boolean jj_3_15()
jj_3_20
private final boolean jj_3_20()
jj_3R_109
private final boolean jj_3R_109()
jj_3R_78
private final boolean jj_3R_78()
jj_3R_104
private final boolean jj_3R_104()
jj_3R_108
private final boolean jj_3R_108()
jj_3_14
private final boolean jj_3_14()
jj_3R_93
private final boolean jj_3R_93()
jj_3R_106
private final boolean jj_3R_106()
jj_3R_87
private final boolean jj_3R_87()
jj_3R_103
private final boolean jj_3R_103()
jj_3R_102
private final boolean jj_3R_102()
jj_3_8
private final boolean jj_3_8()
jj_3_21
private final boolean jj_3_21()
jj_3R_80
private final boolean jj_3R_80()
jj_3R_107
private final boolean jj_3R_107()
jj_3R_92
private final boolean jj_3R_92()
jj_3R_95
private final boolean jj_3R_95()
jj_3_7
private final boolean jj_3_7()
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(ParserTokenManager tm)
jj_consume_token
private final Token jj_consume_token(int kind)
throws ParseException
- Throws:
ParseException
jj_scan_token
private final boolean jj_scan_token(int kind)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
jj_ntk
private final int jj_ntk()
jj_add_error_token
private void jj_add_error_token(int kind,
int pos)
generateParseException
public final ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
jj_rescan_token
private final void jj_rescan_token()
jj_save
private final void jj_save(int index,
int xla)
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.