private final A argument;
private final D declaredInstance;
- protected DeclaredEffectiveStatementBase(final StmtContext<A, D, ?> ctx) {
- this(ctx, true);
- }
-
/**
* Constructor.
*
* @param ctx
* context of statement.
- * @param buildUnknownSubstatements
- * if it is false, the unknown substatements are omitted from
- * build of effective substatements till the call of either
- * effectiveSubstatements or getOmittedUnknownSubstatements
- * method of EffectiveStatementBase class. The main purpose of
- * this is to allow the build of recursive extension definitions.
*/
- protected DeclaredEffectiveStatementBase(StmtContext<A, D, ?> ctx, final boolean buildUnknownSubstatements) {
- super(ctx, buildUnknownSubstatements);
+ protected DeclaredEffectiveStatementBase(StmtContext<A, D, ?> ctx) {
+ super(ctx);
this.argument = ctx.getStatementArgument();
this.statementSource = ctx.getStatementSource();