|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ParseException | |
---|---|
cz.cuni.amis.pogamut.sposh.elements | This package contains parser for POSH plan, classes that represent elements of POSH plan and some auxiliry classes. |
cz.cuni.amis.pogamut.sposh.exceptions |
Uses of ParseException in cz.cuni.amis.pogamut.sposh.elements |
---|
Methods in cz.cuni.amis.pogamut.sposh.elements that return ParseException | |
---|---|
ParseException |
PoshParser.generateParseException()
Generate ParseException. |
Methods in cz.cuni.amis.pogamut.sposh.elements that throw ParseException | |
---|---|
ActionPattern |
PoshParser.actionPattern()
action-pattern ::= AP NAME ( NIL | "(" |
void |
PoshParser.actionPatternElements(ActionPattern ap,
FormalParameters formalParameters)
process actions of the AP and add them into the passed ap. |
Adopt |
PoshParser.adapt()
adapt ::= AD NAME [ |
cz.cuni.amis.pogamut.sposh.elements.PoshParser.Packet<Arguments.Argument,Boolean> |
PoshParser.callParameter(int index,
boolean named)
Parameter used when calling C/AP/sense/action callParameter :: |
Arguments |
PoshParser.callParametersList(FormalParameters formalParameters)
callParametersList:: callParameter() ( "," callParameter() )* ")" |
Competence |
PoshParser.competence()
competence ::= C NAME ( NIL | "(" |
CompetenceElement |
PoshParser.competenceElement(FormalParameters formalParameters)
competence-element ::= "(" NAME [ "(" |
List<Sense> |
PoshParser.competenceGoal(FormalParameters formalParameters)
( NIL | "(" |
List<CompetenceElement> |
PoshParser.competencePriorities(FormalParameters formalParameters)
competence-priorities ::= |
void |
PoshParser.docString(PoshPlan plan)
docstring ::= DOCUMENTATION COMMENT COMMENT COMMENT ")" |
void |
PoshParser.driveCollection(DriveCollection dc)
Take passed drive collection and put the data (name, drives) into it. |
void |
PoshParser.driveCollectionGoal(DriveCollection dc,
FormalParameters formalParameters)
Process goal of DC (if exists) |
DriveElement |
PoshParser.driveElement(FormalParameters formalParameters)
Create a drive and return it. |
cz.cuni.amis.pogamut.sposh.elements.PoshParser.Packet<Arguments,Freq> |
PoshParser.driveElementActionFreq(FormalParameters formalParameters)
Nonterminal for possible arguments of the action call of the drive action and the frequency. |
Freq |
PoshParser.driveElementFreq()
Get specified frequency. |
List<Sense> |
PoshParser.driveElementTrigger(FormalParameters formalParameters)
Read trigger (list of senses) and return it. |
Freq |
PoshParser.freq()
freq ::= |
Freq.FreqUnits |
PoshParser.freqUnit()
freq-unit ::= HOURS | MINUTES | SECONDS | HZ | PM | NONE |
Sense |
PoshParser.fullSense(FormalParameters formalParameters)
full-sense ::= "(" NAME [ |
List<Sense> |
PoshParser.goal(FormalParameters formalParameters)
Process goal sense and return them. |
String |
PoshParser.optComment()
Optional comment, if no comment, return blank string. |
int |
PoshParser.optRetries()
Optional number of retries. |
FormalParameters |
PoshParser.parameters()
Declare parameters in C or AP. |
static LapPath |
LapPath.parse(String serializedPath)
Parse @serializedPath to |
PoshPlan |
PoshParser.parsePlan()
FIXME: According to official grammar, plan can consists only from single competence or action pattern. |
void |
Sense.parseSense(String input)
TODO: Correctly document, changed in hurry. |
static Object |
Result.parseValue(String valueString)
Parse string from posh plan and convert it to object. |
void |
PoshParser.planFirstElement(PoshPlan plan)
[ "(" |
void |
PoshParser.planFirstHalf(PoshPlan plan)
First half of plan rule |
void |
PoshParser.planSecondHalf(PoshPlan plan)
( "(" |
void |
PoshParser.planSecondHalfElements(PoshPlan plan)
( |
PrimitiveCall |
PoshParser.senseCall(FormalParameters formalParameters)
SenseCall sense:: |
void |
PoshParser.sensePredicate(cz.cuni.amis.pogamut.sposh.elements.SenseComponents _senseComp)
predicate ::= PREDICATE |
List<Sense> |
PoshParser.senses(FormalParameters formalParameters)
Get senses (if there are any) and return them. |
List<Sense> |
PoshParser.sensesList(FormalParameters formalParameters)
( NAME | |
Sense |
PoshParser.sensesListElement(FormalParameters formalParameters)
NAME | |
void |
PoshParser.senseValue(cz.cuni.amis.pogamut.sposh.elements.SenseComponents _senseComp)
value ::= NUMINT | NUMFLOAT | NAME | STRINGVALUE | NIL Part of full-sense parsing. |
SolTime |
PoshParser.time()
time ::= |
SolTime.TimeUnits |
PoshParser.timeUnit()
time-unit ::= HOURS | MINUTES | SECONDS | NONE |
List<Sense> |
PoshParser.trigger(FormalParameters formalParameters)
Get list of senses of a trigger. |
Object |
PoshParser.value()
|
FormalParameters.Parameter |
PoshParser.varDeclaration()
varDeclare:: |
Uses of ParseException in cz.cuni.amis.pogamut.sposh.exceptions |
---|
Subclasses of ParseException in cz.cuni.amis.pogamut.sposh.exceptions | |
---|---|
class |
CycleException
When there is a cycle in the posh tree, this exception should be thrown. |
class |
DuplicateNameException
Thrown when trying to add element into the posh tree, but the tree already contains element with the same name. |
class |
InvalidNameException
Thrown when name in the lap plan is not valid (example: it includes whitespaces). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |