|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.dml.AbstractOperation
org.quattor.pan.dml.functions.BuiltInFunction
org.quattor.pan.dml.functions.ErrorMessage
public final class ErrorMessage
Implements the error function that prints its argument to the
standard error stream and then aborts the compilation of the object profile.
| Field Summary |
|---|
| Fields inherited from class org.quattor.pan.dml.functions.BuiltInFunction |
|---|
name |
| Fields inherited from class org.quattor.pan.dml.AbstractOperation |
|---|
ops, sourceRange |
| Method Summary | |
|---|---|
void |
checkRestrictedContext()
Default implementation recursively calls this method on all of the contained operations (arguments). |
Element |
execute(Context context)
Execute this operation within the given context. |
static Operation |
getInstance(SourceRange sourceRange,
Operation... operations)
|
| Methods inherited from class org.quattor.pan.dml.functions.BuiltInFunction |
|---|
throwExceptionIfCompileTimeContext, toString |
| Methods inherited from class org.quattor.pan.dml.AbstractOperation |
|---|
calculateArgs, calculateTerms, checkInvalidSelfContext, getOperations, getSourceRange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Operation getInstance(SourceRange sourceRange,
Operation... operations)
throws SyntaxException
SyntaxExceptionpublic Element execute(Context context)
Operation
execute in interface Operationexecute in class AbstractOperationcontext - evaluation context for the statement
public void checkRestrictedContext()
throws SyntaxException
AbstractOperation
checkRestrictedContext in interface OperationcheckRestrictedContext in class AbstractOperationSyntaxException - if operation cannot appear in restricted context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||