Package cdx.scorebot.scoring.logic

Contains the data structures used to hold and process the information parsed by the Scoring Logic lexical analyzer.

See:
          Description

Interface Summary
BlockStatementType classes which can function as a Block Statement
ExpressionType classes which can function as an Expression
LogicCode denotes classes which contain process logic code
LogicCodeEvaluatable Defines the framework for evaluating code into a literal value.
LogicCodeExecutable defines the framework for executing code
PrimaryExpressionType classes which can function as a Primary Expression
StatementType classes which can function as a Statement
 

Class Summary
AdditiveExpression holds an Additive expression
ArgumentList stores a list of arguments to a function
Arguments contains an argument list which has args to the method being called
Assignment evaluates an assignment statement
Block stores sets of block statements enclosed within { and }
ConditionalAndExpression holds a conditional AND expression
ConditionalOrExpression holds a conditional OR expression
ConditionalXorExpression holds a conditional XOR expression
Context stores information about the current state when processing a scoring rule's logic
EqualityExpression holds an Equality expression
Expression holds an expression which evaluates to a value
ExpressionLeftAssociative<SUBEXP extends LogicCodeEvaluatable> Defines a left-associate expression (A || B || C is equivalent to ((A || B) || C).
GenericMethod evaluates a method call
Identifier Stores the name of a Variable
IfStatement evaluates an if statement
Literal holds a literal value
LogicUnit root of the scoring language
Method evaluates a method call which returns a value (this is called a "function")
MultiplicativeExpression holds an Additive expression
PrimaryExpression specifies a primary expression to be evaluated
RelationalExpression holds a Relational expression
Statement specifies a statement to be evaluated
TestConfigValue holds the value of some test result
TestData Contains information regarding what test items are available and what configuration options and results they contain.
TestIdentifier Stores a test identifier
TestNumPair stores a test and the number of results to track
TestResultValue holds the value of some test result
UnaryExpression holds a conditional Unary expression
VariableInitialization specifies a variable to be initialized
VoidMethod evaluates an void method call (this is called a "procedure")
 

Enum Summary
LiteralType defines the different kinds of types which can be used in the logic
OperatorType defines the different kinds of comparison operators
 

Exception Summary
IllegalMethodArgsException thrown if the logic contains a call to a method which exists but not with the specified parameters
IllegalOperandException thrown if the logic tries to apply an operator to operands for which it isn't defined
InvalidLValueException Thrown if the logic tries to assign a value to a literal, test result, test configuration option, or other invalid lvalue.
LogicException an exception which occurs in the scoring logic
RedefinedVariableException thrown if the logic tries to declare a variable which has already been declared
TestUnavailableException thrown if the logic tries to access a test which hasn't been run yet
TypeMismatchException thrown if the logic tries to perform an operation on operands of different types
UndefinedMethodException thrown if the logic contains a call to a non-existant method
UndefinedTestException thrown if the logic tries to access a test which doesn't exist
UndefinedTestOptionException thrown if the logic tries to access a test option which doesn't exist
UndefinedTestResultException thrown if the logic tries to access a test result which doesn't exist
UndefinedVariableException thrown if the logic tries to access a variable which hasn't been defined
 

Package cdx.scorebot.scoring.logic Description

Contains the data structures used to hold and process the information parsed by the Scoring Logic lexical analyzer.