/** * Translate a PackageNode AST into ABC. * Subclasses should override this if * they can process packages. * @param p - the package's AST. */ void declarePackage(PackageNode p) { problems.add(new BURMDiagnosticNotAllowedHereProblem(p)); }
/** * Translate a ClassNode AST into ABC. * Subclasses should override this if * they can process class definitions. * @param c - the class' AST. */ void declareClass(ClassNode c) { problems.add(new BURMDiagnosticNotAllowedHereProblem(c)); }
/** * Translate a VaribleNode AST into ABC, and adding bindable support. * Subclasses should override this if * they can process bindable variable definitions. * @param var - the variable's AST. * @param modifiers - static, const */ void declareBindableVariable(VariableNode var) { problems.add(new BURMDiagnosticNotAllowedHereProblem(var)); }
/** * Translate a ClassNode AST into ABC. * Subclasses should override this if * they can process class definitions. * @param c - the class' AST. */ void declareClass(ClassNode c) { problems.add(new BURMDiagnosticNotAllowedHereProblem(c)); }
/** * Translate a FunctionNode AST into ABC. * Subclasses should override this if * they can process function definitions. * @param f - the function's AST. */ void declareFunction(FunctionNode f) { problems.add(new BURMDiagnosticNotAllowedHereProblem(f)); }
/** * Translate a NamespaceIdentifierNode AST into ABC. * Subclasses should override this if * they can process namespace identifiers. * @param ns - the namespace identifier's AST. */ void processNamespaceIdentifierDirective(NamespaceIdentifierNode ns) { problems.add(new BURMDiagnosticNotAllowedHereProblem(ns)); }
/** * Translate a VaribleNode AST into ABC. * Subclasses should override this if * they can process variable definitions. * @param var - the variable's AST. * @param modifiers - static, const */ void declareVariable(VariableNode var) { problems.add(new BURMDiagnosticNotAllowedHereProblem(var)); }
/** * Translate other directives' ASTs into ABC. * Subclasses should override this if * they can process ad-hoc directives. * @param n - the directive's AST. */ void processDirective(IASNode n) { problems.add(new BURMDiagnosticNotAllowedHereProblem(n)); }
/** * Translate a NamespaceIdentifierNode AST into ABC. * Subclasses should override this if * they can process namespace identifiers. * @param ns - the namespace identifier's AST. */ void processNamespaceIdentifierDirective(NamespaceIdentifierNode ns) { problems.add(new BURMDiagnosticNotAllowedHereProblem(ns)); }
/** * Translate a PackageNode AST into ABC. * Subclasses should override this if * they can process packages. * @param p - the package's AST. */ void declarePackage(PackageNode p) { problems.add(new BURMDiagnosticNotAllowedHereProblem(p)); }
/** * Translate an MXMLDocumentNode AST into ABC. * Subclasses should override this if * they can process document nodes. * @param c - the document's AST. */ void declareMXMLDocument(IMXMLDocumentNode d) { problems.add(new BURMDiagnosticNotAllowedHereProblem(d)); }
/** * Translate an InterfaceNode AST into ABC. * Subclasses should override this if * they can process interface definitions. * @param in - the interface's AST. */ void declareInterface(InterfaceNode in) { problems.add(new BURMDiagnosticNotAllowedHereProblem(in)); }
/** * Translate a VaribleNode AST into ABC. * Subclasses should override this if * they can process variable definitions. * @param var - the variable's AST. * @param modifiers - static, const */ void declareVariable(VariableNode var) { problems.add(new BURMDiagnosticNotAllowedHereProblem(var)); }
/** * Translate a VaribleNode AST into ABC, and adding bindable support. * Subclasses should override this if * they can process bindable variable definitions. * @param var - the variable's AST. * @param modifiers - static, const */ void declareBindableVariable(VariableNode var) { problems.add(new BURMDiagnosticNotAllowedHereProblem(var)); }
/** * Translate an MXMLDocumentNode AST into ABC. * Subclasses should override this if * they can process document nodes. * @param c - the document's AST. */ void declareMXMLDocument(IMXMLDocumentNode d) { problems.add(new BURMDiagnosticNotAllowedHereProblem(d)); }
/** * Translate other directives' ASTs into ABC. * Subclasses should override this if * they can process ad-hoc directives. * @param n - the directive's AST. */ void processDirective(IASNode n) { problems.add(new BURMDiagnosticNotAllowedHereProblem(n)); }
/** * Translate an InterfaceNode AST into ABC. * Subclasses should override this if * they can process interface definitions. * @param in - the interface's AST. */ void declareInterface(InterfaceNode in) { problems.add(new BURMDiagnosticNotAllowedHereProblem(in)); }
/** * Translate a FunctionNode AST into ABC. * Subclasses should override this if * they can process function definitions. * @param f - the function's AST. */ void declareFunction(FunctionNode f) { problems.add(new BURMDiagnosticNotAllowedHereProblem(f)); }
addProblem(new BURMDiagnosticNotAllowedHereProblem(iNode));
addProblem(new BURMDiagnosticNotAllowedHereProblem(iNode));