PE_ANNOTATION | ------------------------ | | | PE_INSTANCE NAME LITERAL | | | | -------- | | | | | | query my . annoKey "myAnnoValue"
169170171172173174175176
return new InnerExpressionStrategy( this, mAdmireRegistry, mDispelOptimiser, mExecutionState); case PE_ANNOTATION: return new PEAnnotationStrategy(this, mExecutionState); default: throw new UnsupportedContextException(Context.REQUEST, context); } }
60616263646566
case NEW_INSTANCE: return new NewInstanceStrategy(this, mExecutionState); case EXPRESSION: return new ExpressionStrategy(this, mExecutionState); } throw new UnsupportedContextException(Context.EXPRESSION, context); }
38394041424344
case ASSIGNMENT: return new AssertionAssignmentStrategy(this); case ANNOTATION: return new AnnotationStrategy(this); } throw new UnsupportedContextException(Context.WITH_ASSERTION, context); }
switch (context) { case TUPLE_ELEMENT: return new TupleElementStrategy(this); } throw new UnsupportedContextException(Context.TUPLE, context); }
25262728293031
{ if (context == Context.ARRAY) { return new ArrayStrategy(this); } throw new UnsupportedContextException(Context.VARIABLE_ID, context); }
45464748495051
case CREATE_PE: return new CreatePETypeStrategy(this, mExecutionState); case INNER_EXPRESSION: return new InnerExpressionStrategy(this, mAdmireRegistry, mDispelOptimiser, mExecutionState); } throw new UnsupportedContextException(Context.RETURN, context); }
16171819202122
@Override public ContextStrategy getStrategy(Context context) throws UnsupportedContextException { throw new UnsupportedContextException(Context.ASSIGNMENT, context); }
4344454647484950
case INPUTS: return new CreatePETypeIOTupleStrategy(this, mExecutionState); case OUTPUTS: return new CreatePETypeIOTupleStrategy(this, mExecutionState); default: throw new UnsupportedContextException(Context.CREATE_PE, context); } }
4142434445464748
throws UnsupportedContextException { switch (context) { default: throw new UnsupportedContextException(Context.FOR, context); } }
57585960616263
case STYPE: return new STypeStrategy(this, mExecutionState); case DTYPE: return new DTypeStrategy(this, mExecutionState); } throw new UnsupportedContextException(mMyContext, context); }