public class NoDuplicateRelationshipsListener extends C4BaseListener
ParseTreeListener implementation that verifies that relationships are not declared more than once..| Constructor and Description |
|---|
NoDuplicateRelationshipsListener(org.thewonderlemming.c4plantuml.commons.Reporter reporter)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.RelationshipContext ctx)
Collects the relationship definition in a
SourceType.C4_L1 grammar. |
void |
enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.RelationshipContext ctx)
Collects the relationship definition in a
SourceType.C4_L2 grammar. |
void |
enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.RelationshipContext ctx)
Collects the relationship definition in a
SourceType.C4_L3 grammar. |
enterEveryRule, exitEveryRule, getDecoratedC4L1ParserListener, getDecoratedC4L2ParserListener, getDecoratedC4L3ParserListener, visitErrorNode, visitTerminalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenterBoundary, enterCloud, enterComma, enterDiagram, enterEnterprise_boundary, enterFooter, enterInclude, enterL1_title, enterLayout, enterPerson_ext, enterPerson, enterStatement, enterSystem_ext, enterSystem, enterTitle, exitBoundary, exitCloud, exitComma, exitDiagram, exitEnterprise_boundary, exitFooter, exitInclude, exitL1_title, exitLayout, exitPerson_ext, exitPerson, exitRelationship, exitStatement, exitSystem_ext, exitSystem, exitTitleenterBoundary, enterCloud, enterComma, enterContainer, enterDiagram, enterEnterprise_boundary, enterFooter, enterInclude, enterL2_title, enterLayout, enterPerson_ext, enterPerson, enterStatement, enterSystem_boundary, enterSystem_ext, enterSystem, enterTitle, exitBoundary, exitCloud, exitComma, exitContainer, exitDiagram, exitEnterprise_boundary, exitFooter, exitInclude, exitL2_title, exitLayout, exitPerson_ext, exitPerson, exitRelationship, exitStatement, exitSystem_boundary, exitSystem_ext, exitSystem, exitTitleenterBoundary, enterCloud, enterComma, enterComponent, enterContainer_boundary, enterContainer, enterDiagram, enterEnterprise_boundary, enterFooter, enterInclude, enterL3_title, enterLayout, enterPerson_ext, enterPerson, enterStatement, enterSystem_ext, enterSystem, enterTitle, exitBoundary, exitCloud, exitComma, exitComponent, exitContainer_boundary, exitContainer, exitDiagram, exitEnterprise_boundary, exitFooter, exitInclude, exitL3_title, exitLayout, exitPerson_ext, exitPerson, exitRelationship, exitStatement, exitSystem_ext, exitSystem, exitTitlepublic NoDuplicateRelationshipsListener(org.thewonderlemming.c4plantuml.commons.Reporter reporter)
reporter - Reporter instance to report to.public void enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.RelationshipContext ctx)
SourceType.C4_L1 grammar.
Enter a parse tree produced by C4L1Parser.relationship().
ctx - the parse treepublic void enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.RelationshipContext ctx)
SourceType.C4_L2 grammar.
Enter a parse tree produced by C4L2Parser.relationship().
ctx - the parse treepublic void enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.RelationshipContext ctx)
SourceType.C4_L3 grammar.
Enter a parse tree produced by C4L3Parser.relationship().
ctx - the parse treeCopyright © 2020. All rights reserved.