|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overturetool.vdmj.statements.Statement
org.overturetool.vdmj.statements.ErrorStatement
public class ErrorStatement
| Field Summary |
|---|
| Fields inherited from class org.overturetool.vdmj.statements.Statement |
|---|
breakpoint, location |
| Constructor Summary | |
|---|---|
ErrorStatement(LexLocation location)
|
|
| Method Summary | |
|---|---|
Value |
eval(Context ctxt)
Evaluate the statement in the context given. |
java.lang.String |
kind()
A string name of the statement type, (eg "if"). |
java.lang.String |
toString()
|
Type |
typeCheck(Environment env,
NameScope scope)
Type check the statement and return its type. |
| Methods inherited from class org.overturetool.vdmj.statements.Statement |
|---|
abort, abort, detail, detail2, exitCheck, findExpression, findStatement, getProofObligations, hasSideEffects, report, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorStatement(LexLocation location)
| Method Detail |
|---|
public java.lang.String toString()
toString in class Statementpublic java.lang.String kind()
Statement
kind in class Statement
public Type typeCheck(Environment env,
NameScope scope)
Statement
typeCheck in class Statementpublic Value eval(Context ctxt)
Statement
eval in class Statement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||