org.problets.domain.model.output
Class OutputStream
java.lang.Object
org.problets.domain.model.DomainModel
org.problets.domain.model.output.OutputStream
- All Implemented Interfaces:
- java.lang.Cloneable
public class OutputStream
- extends DomainModel
Holds the output stream for a program
- Author:
- Amruth Kumar
Field Summary |
static java.lang.String[] |
ERRORS
|
Fields inherited from class org.problets.domain.model.DomainModel |
BOOLEAN, BREAKPOINT, CHARACTER, DOUBLE_PRECISION_REAL, ERROR_TYPE, EVAL_STATUS, expACTION, expASSIGNMENT, expAUTO_DEALLOCATION, expCALL, expCONDITION, expDECLARATION, expDEREFERENCING, expDYNAMIC_ALLOCATION, expDYNAMIC_ALLOCATION_INITIALIZATION, expDYNAMIC_DEALLOCATION, expELSE_CLAUSE, expERROR, expEXECUTION, expIF_CLAUSE, expINITIALIZATION, expINPUT, expPARAMETER_PASSING, expPRINT, expQUESTIONABLE, expREFERENCING, expRETURN, expRUNTIME_ERROR, expSEMANTIC_ERROR, expSYNTAX_ERROR, expUPDATE, IDENTITY, MAX_OBJECT_IDENTITY, MIN_OBJECT_IDENTITY, QUADRUPLE_PRECISION_REAL, RUNTIME_ERROR, SEMANTIC_ERROR, SIGNED_INTEGER, SIGNED_LONG, SIGNED_SHORT, SINGLE_PRECISION_REAL, SYNTAX_ERROR, UNDEFINED_TYPE, UNSIGNED_INTEGER, UNSIGNED_LONG, UNSIGNED_SHORT, WARNING |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERRORS
public static final java.lang.String[] ERRORS
OutputStream
public OutputStream()
getOutputStrings
public java.util.Vector getOutputStrings()
getOutput
public java.util.Vector getOutput()
getLineOutput
public java.util.Vector getLineOutput(int lineNumber)
getPossibleErrors
public static java.lang.String[] getPossibleErrors()
addToOutput
public void addToOutput(java.lang.String output,
int lineNumber)
addToOutput
public void addToOutput(LineOutput output)
print
public void print()
main
public static void main(java.lang.String[] args)