|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of DomainModel in org.problets.domain.line |
---|
Methods in org.problets.domain.line that return DomainModel | |
---|---|
DomainModel |
CodeSegmentAttempt.getSource()
Returns the source of the code line of which this is a segment |
DomainModel |
CodeLine.getSource()
Returns a reference to the source of this line of code |
Constructors in org.problets.domain.line with parameters of type DomainModel | |
---|---|
CodeLine(java.lang.String inLineCode,
java.lang.String inLineTemplate,
int inLineNumber,
DomainModel source)
|
|
CodeSegmentAttempt(int inLineNumber,
java.lang.String inInstructions,
java.lang.String inTemplate,
java.lang.String inActualCode,
java.lang.String inStudentCode,
boolean inCorrect,
DomainModel inSource)
|
|
ExplanationLine(DomainModel inExplainer,
int inEvent,
java.lang.String inExplanation,
int inLineNumber)
|
|
ExplanationPara(DomainModel inExplainer,
int inEvent,
java.util.Vector inExplanation,
int inLineNumber)
|
Uses of DomainModel in org.problets.domain.model |
---|
Subclasses of DomainModel in org.problets.domain.model | |
---|---|
class |
CodeModel
CodeModel To generate the code for the problem |
Uses of DomainModel in org.problets.domain.model.control |
---|
Subclasses of DomainModel in org.problets.domain.model.control | |
---|---|
class |
ConditionControl
Serves as the base class for selection and iteration statements all of which have a condition |
class |
ControlModel
A Wrapper class for different control statements i.e. |
Uses of DomainModel in org.problets.domain.model.control.abstraction |
---|
Subclasses of DomainModel in org.problets.domain.model.control.abstraction | |
---|---|
class |
Block
Processes a block of code, automatically ends scope upon exiting. |
class |
CPPProgram
To model a C++ program |
class |
CProgram
To model a C program |
class |
CSProgram
To model a C# program that handles ONLY imperative constructs (i.e., template does not contain a class declaration). |
class |
Function
Processes a function, which is a "callable" block. |
class |
JProgram
To model a Java program that handles ONLY imperative constructs (i.e., template does not contain a class declaration). |
class |
Program
Processes a program consisting of one or more functions, and accounts for partial referencing environments of global variables. |
class |
Scope
Models a scope object. |
class |
Statement
Processes ONE statement, creates activation record for it. |
class |
StatementSequence
Processes a sequence of statements which are NOT enclosed in braces, creates activation record for them. |
class |
VBProgram
To model a VB program |
Uses of DomainModel in org.problets.domain.model.control.iteration |
---|
Subclasses of DomainModel in org.problets.domain.model.control.iteration | |
---|---|
class |
AbstractLoopModel
Class: AbstractLoopModel Purpose: Base class for loop models, including a for loop, a while loop, and a do..while loop |
class |
DoWhileModel
Implements Do-While Loops |
class |
ForLoopModel
Class: ForLoopModel Purpose: Class for for loops |
class |
IDoWhileModel
Class: IDoWhileModel |
class |
IForLoopModel
Class: IForLoopModel Purpose: Class for infinite for loops |
class |
IWhileModel
Class: IWhileLoopModel Purpose: Class for infinite while loops |
class |
VBForLoopModel
Model of a Visual Basic For loop |
class |
WhileModel
Implements While Loops |
Uses of DomainModel in org.problets.domain.model.control.selection |
---|
Subclasses of DomainModel in org.problets.domain.model.control.selection | |
---|---|
class |
CaseModel
Class: CaseModel Purpose: For every case, parses statements, blocks, and nested switch statements and adds it to statement sequence or block |
class |
DefaultCaseModel
Class: DefaultCaseModel Purpose: For default case, parses statements, blocks, and nested switch statements and add it to StatementSequence or block. |
class |
IfElseModel
Class for the implementation of If-Else Statements |
class |
IfModel
Class for the implementation of If Statements |
class |
Selection
Serves as the base class for if, if-else and switch |
class |
SwitchModel
Class: SwitchModel Purpose: Provides procedures to parse the switch cases and get the statement sequence by calling CaseModel. |
Uses of DomainModel in org.problets.domain.model.datatype |
---|
Subclasses of DomainModel in org.problets.domain.model.datatype | |
---|---|
class |
CBool
CBool Class to wrap C++ boolean values |
class |
CChar
CChar Class to wrap C++ character values |
class |
CDouble
CDouble Class to wrap C++ double values |
class |
CFloat
CFloat Class to wrap C++ float values |
class |
CInt
CInt Class to wrap C++ integer values |
class |
CInteger
CInteger Serves as base class for unsigned, signed, character and boolean data types |
class |
CLong
CLong Class to wrap C++ long integer values |
class |
CLongDouble
CLongDouble Class to wrap C++ long double values |
class |
CReal
CReal Serves as base class for C++ float, double and long double |
class |
CShort
CShort Class to wrap C++ short integer values |
class |
CSigned
CSigned Serves as base class for C++ signed data types |
class |
CUnsigned
CUnsigned Serves as base class for C++ unsigned data types |
class |
CUnsignedInt
CUnsignedInt Class to wrap C++ unsigned integer values |
class |
CUnsignedLong
CUnsignedLong Class to wrap C++ unsigned long integer values |
class |
CUnsignedShort
CUnsignedShort Class to wrap C++ unsigned short integer values |
class |
ErrorValue
ErrorValue Serves to hold errors from expression evaluation |
class |
EvalStatus
EvalStatus Class to wrap "Skip", "Short Circuit" |
class |
Value
Serves as the base class of all the data type values Holds a value |
Uses of DomainModel in org.problets.domain.model.expression |
---|
Subclasses of DomainModel in org.problets.domain.model.expression | |
---|---|
class |
Expression
Expression Creates an expression model from a string representation. |
class |
StandAloneExpression
StandAloneExpression Handles expressions for expression tutor - not to be used in code. |
Uses of DomainModel in org.problets.domain.model.expression.node |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node | |
---|---|
class |
NodeModel
To represent the nodes in the expression tree |
Uses of DomainModel in org.problets.domain.model.expression.node.operand |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node.operand | |
---|---|
class |
FunctionCallOperand
FunctionCallOperand To hold a function call operand |
class |
LiteralOperand
LiteralOperand To hold a literal operand |
class |
Operand
Operand To serve as the base class for LiteralOperand and VarOperand |
class |
VarOperand
VarOperand To hold a variable operand |
Uses of DomainModel in org.problets.domain.model.expression.node.operator |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node.operator | |
---|---|
class |
Operator
To hold one operator in the expression tree |
Uses of DomainModel in org.problets.domain.model.expression.node.operator.arithmetic |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node.operator.arithmetic | |
---|---|
class |
Addition
To represent addition operator |
class |
Arithmetic
To hold all constants specific to arithmetic operators |
class |
BaseModulus
To serve as the base class for CModulus and JModulus operators |
class |
CModulus
To represent modulus operator in C/C++ |
class |
Division
To represent division operator |
class |
Exponentiation
To represent exponentiation operator - currently, since it caters to Visual Basic it changes the return value to CInt if the result is a whole number. |
class |
JModulus
To represent modulus operator in Java/C# |
class |
Multiplication
To represent multiplication operator |
class |
Subtraction
To represent subtraction operator |
class |
VBModulus
To represent modulus operator in VB |
Uses of DomainModel in org.problets.domain.model.expression.node.operator.assignment |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node.operator.assignment | |
---|---|
class |
AddAssign
To represent C++ += compound assignment operator |
class |
Assign
To represent assignment operator |
class |
Assignment
To hold all constants specific to assignment operators |
class |
BitAndAssign
To represent C++ &= compound assignment operator |
class |
BitOrAssign
To represent C++ |= compound assignment operator |
class |
BitXorAssign
To represent C++ ^= compound assignment operator |
class |
CompoundAssignment
To serve as the base class for all compound assignments |
class |
DivideAssign
To represent C++ /= compound assignment operator |
class |
LeftShiftAssign
To represent C++ <<= compound assignment operator |
class |
ModulusAssign
To represent C++ %= compound assignment operator |
class |
MultiplyAssign
To represent C++ *= compound assignment operator |
class |
PostfixAssignment
Serves as the base class for postfix increment and decrement operators |
class |
PostfixDecrement
Handles postfix decrement operator |
class |
PostfixIncrement
Handles postfix increment operator |
class |
PrefixAssignment
Serves as the base class for prefix increment and decrement operators |
class |
PrefixDecrement
Handles prefix decrement operator |
class |
PrefixIncrement
Handles prefix increment operator |
class |
RightShiftAssign
To represent C++ >>= compound assignment operator |
class |
SubtractAssign
To represent C++ -= compound assignment operator |
Uses of DomainModel in org.problets.domain.model.expression.node.operator.bitwise |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node.operator.bitwise | |
---|---|
class |
BitAnd
To represent bitwise and operator |
class |
BitComplement
To represent bitwise 1's complement operator ~ |
class |
BitOr
To represent bitwise or operator |
class |
Bitwise
To hold all constants specific to bitwise operators |
class |
JURightShift
To represent bitwise Java unsigned right shift operator |
class |
LeftShift
To represent bitwise left shift operator |
class |
RightShift
To represent bitwise right shift operator |
class |
Xor
To represent bitwise xor operator |
Uses of DomainModel in org.problets.domain.model.expression.node.operator.logical |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node.operator.logical | |
---|---|
class |
And
To represent and operator |
class |
Logical
To hold all constants specific to arithmetic operators |
class |
Not
To represent not operator |
class |
Or
To represent or operator |
class |
ShortCircuitable
Serves as the base class for && and || operators |
Uses of DomainModel in org.problets.domain.model.expression.node.operator.misc |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node.operator.misc | |
---|---|
class |
Comma
To represent C++ comma (,) operator |
class |
Parenthesis
To represent the parenthesis operator |
Uses of DomainModel in org.problets.domain.model.expression.node.operator.pointer |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node.operator.pointer | |
---|---|
class |
Dereference
To represent the dereferencing operator for pointers |
class |
Pointer
To hold all constants specific to the two pointer operators |
Uses of DomainModel in org.problets.domain.model.expression.node.operator.relational |
---|
Subclasses of DomainModel in org.problets.domain.model.expression.node.operator.relational | |
---|---|
class |
Equals
To represent equal to operator |
class |
GreaterEquals
To represent greater than or equal to operator |
class |
GreaterThan
To represent greater than operator |
class |
LessEquals
To represent less than or equal to operator |
class |
LessThan
To represent less than operator |
class |
NotEquals
To represent not equal to operator |
class |
Relational
To hold all constants specific to relational operators |
class |
VBEquals
To represent equal to operator in Visual Basic |
class |
VBNotEquals
To represent not equal to operator in Visual Basic |
Uses of DomainModel in org.problets.domain.model.input |
---|
Subclasses of DomainModel in org.problets.domain.model.input | |
---|---|
class |
InputStream
Holds the input stream for a program |
Uses of DomainModel in org.problets.domain.model.output |
---|
Subclasses of DomainModel in org.problets.domain.model.output | |
---|---|
class |
OutputStream
Holds the output stream for a program |
Uses of DomainModel in org.problets.domain.model.variable |
---|
Subclasses of DomainModel in org.problets.domain.model.variable | |
---|---|
class |
AbstractVarModel
AbstractVarModel Base class for VarModel - Model of a scalar variable PtrModel - Model of a pointer variable AnonVarModel - Model of an anonymous variable RefVarModel - Model of a reference variable |
class |
AccessVarModel
Base class for PtrModel and RefVarModel - both access variables |
class |
AnonVarModel
VarModel Model of a scalar variable |
class |
PtrModel
Model for a pointer variable |
class |
RefVarModel
Reference variable |
class |
VarModel
VarModel class maintains a scalar variable object. |
Uses of DomainModel in org.problets.domain.model.variable.aggregate |
---|
Subclasses of DomainModel in org.problets.domain.model.variable.aggregate | |
---|---|
class |
AggregateVarModel
Class: AggregateVarModel Purpose: This class serves as the base class for aggregate variables including ArrayModel and StructureVarModel |
class |
ArrayModel
Class: ArrayModel Purpose: Represents an array of AbstractVarModel objects |
class |
ErrorVarModel
Class: ErrorVarModel Purpose: This class acts as a place holder for non-existent variables. |
Uses of DomainModel in org.problets.domain.view |
---|
Constructors in org.problets.domain.view with parameters of type DomainModel | |
---|---|
ProblemManager(DomainModel inProblem,
AbstractView inProblemView,
StudentModel inStudent,
LogModel inLog,
java.awt.event.ActionListener inRoot)
Constructor for code-based problems |
Uses of DomainModel in org.problets.domain.view.code.synthesis |
---|
Constructors in org.problets.domain.view.code.synthesis with parameters of type DomainModel | |
---|---|
SynthesisCodeLine(java.lang.String inLineCode,
java.lang.String inLineTemplate,
int inLineNumber,
DomainModel source)
|
|
SynthesisCodeSegment(java.lang.String synthesizedCode,
int inLineNumber,
DomainModel inSource)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |