Class SymbolProdOverwrittenBySymbol

java.lang.Object
de.monticore.grammar.cocos.SymbolProdOverwrittenBySymbol
All Implemented Interfaces:
GrammarASTMCGrammarCoCo, GrammarVisitor2, de.monticore.visitor.IVisitor

public class SymbolProdOverwrittenBySymbol extends Object implements GrammarASTMCGrammarCoCo
checks if a prod is overwriting a prod of a super grammar and logs an error if both prods define a symbol e.g. grammar A { symbol Foo; } grammar B extends A { symbol Foo; } only one of the prods can define a symbol the symbol property is inherited from the super prod and does not need to be defined again