@Override protected void analyze(EnumSet<PostProcessStep> set, ASScope scope, Collection<ICompilerProblem> problems) { // Put header statements into the current block conditionsStatementsNode.analyze(set, scope, problems); contentsNode.analyze(set, scope, problems); }
@Override protected void analyze(EnumSet<PostProcessStep> set, ASScope scope, Collection<ICompilerProblem> problems) { // Put header statements into the current block conditionsStatementsNode.analyze(set, scope, problems); contentsNode.analyze(set, scope, problems); }
@Override protected void analyze(EnumSet<PostProcessStep> set, ASScope scope, Collection<ICompilerProblem> problems) { if (set.contains(PostProcessStep.POPULATE_SCOPE) || set.contains(PostProcessStep.RECONNECT_DEFINITIONS)) { withScope = new WithScope(scope); withScope.setContainingScope(scope); // We know this is always a ScopedBlockNode because we created it above in initBlockNode ((ScopedBlockNode)contentsNode).setScope(withScope); } if (contentsNode != null) contentsNode.analyze(set, withScope, problems); }
@Override protected void analyze(EnumSet<PostProcessStep> set, ASScope scope, Collection<ICompilerProblem> problems) { if (set.contains(PostProcessStep.POPULATE_SCOPE) || set.contains(PostProcessStep.RECONNECT_DEFINITIONS)) { catchScope = new CatchScope(scope); catchScope.setContainingScope(scope); } if (contentsNode != null) { argumentNode.analyze(set, catchScope, problems); contentsNode.analyze(set, catchScope, problems); } }
@Override protected void analyze(EnumSet<PostProcessStep> set, ASScope scope, Collection<ICompilerProblem> problems) { if (set.contains(PostProcessStep.POPULATE_SCOPE) || set.contains(PostProcessStep.RECONNECT_DEFINITIONS)) { withScope = new WithScope(scope); withScope.setContainingScope(scope); // We know this is always a ScopedBlockNode because we created it above in initBlockNode ((ScopedBlockNode)contentsNode).setScope(withScope); } if (contentsNode != null) contentsNode.analyze(set, withScope, problems); }
@Override protected void analyze(EnumSet<PostProcessStep> set, ASScope scope, Collection<ICompilerProblem> problems) { if (set.contains(PostProcessStep.POPULATE_SCOPE) || set.contains(PostProcessStep.RECONNECT_DEFINITIONS)) { catchScope = new CatchScope(scope); catchScope.setContainingScope(scope); } if (contentsNode != null) { argumentNode.analyze(set, catchScope, problems); contentsNode.analyze(set, catchScope, problems); } }
super.analyze(set, scope, problems);
super.analyze(set, scope, problems);
contents.analyze(set, scope, problems);
contents.analyze(set, scope, problems);