public class AliasesShouldBeUniqueListener extends C4BaseListener
ParseTreeListener implementation that verifies that aliases are not referring to more than one
entity (i.e. they are not declared more than once).| Constructor and Description |
|---|
AliasesShouldBeUniqueListener(AliasesShouldBeUniqueRule rule,
org.thewonderlemming.c4plantuml.commons.Reporter reporter)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.CloudContext ctx)
Collects the alias of a cloud definition in a
SourceType.C4_L1 grammar and verifies that it is not
already in use. |
void |
enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.CloudContext ctx)
Collects the alias of a cloud definition in a
SourceType.C4_L2 grammar and verifies that it is not
already in use. |
void |
enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.CloudContext ctx)
Collects the alias of a cloud definition in a
SourceType.C4_L3 grammar and verifies that it is not
already in use. |
void |
enterComponent(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.ComponentContext ctx)
Collects the alias of a component definition in a
SourceType.C4_L3 grammar and verifies that it is not
already in use. |
void |
enterContainer_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Container_boundaryContext ctx)
Collects the alias of a container boundary definition in a
SourceType.C4_L3 grammar and verifies that it
is not already in use. |
void |
enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.ContainerContext ctx)
Collects the alias of a container definition in a
SourceType.C4_L2 grammar and verifies that it is not
already in use. |
void |
enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.ContainerContext ctx)
Collects the alias of a container definition in a
SourceType.C4_L3 grammar and verifies that it is not
already in use. |
void |
enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.Enterprise_boundaryContext ctx)
Collects the alias of a enterprise boundary definition in a
SourceType.C4_L1 grammar and verifies that it
is not already in use. |
void |
enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Enterprise_boundaryContext ctx)
Collects the alias of a enterprise boundary definition in a
SourceType.C4_L2 grammar and verifies that it
is not already in use. |
void |
enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Enterprise_boundaryContext ctx)
Collects the alias of a enterprise boundary definition in a
SourceType.C4_L3 grammar and verifies that it
is not already in use. |
void |
enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.Person_extContext ctx)
Collects the alias of an external person definition in a
SourceType.C4_L1 grammar and verifies that it is
not already in use. |
void |
enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Person_extContext ctx)
Collects the alias of an external person definition in a
SourceType.C4_L2 grammar and verifies that it is
not already in use. |
void |
enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Person_extContext ctx)
Collects the alias of an external person definition in a
SourceType.C4_L3 grammar and verifies that it is
not already in use. |
void |
enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.PersonContext ctx)
Collects the alias of a person definition in a
SourceType.C4_L1 grammar and verifies that it is not
already in use. |
void |
enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.PersonContext ctx)
Collects the alias of a person definition in a
SourceType.C4_L2 grammar and verifies that it is not
already in use. |
void |
enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.PersonContext ctx)
Collects the alias of a person definition in a
SourceType.C4_L3 grammar and verifies that it is not
already in use. |
void |
enterSystem_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_boundaryContext ctx)
Collects the alias of a system boundary definition in a
SourceType.C4_L2 grammar and verifies that it is
not already in use. |
void |
enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.System_extContext ctx)
Collects the alias of an external system definition in a
SourceType.C4_L1 grammar and verifies that it is
not already in use. |
void |
enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_extContext ctx)
Collects the alias of an external system definition in a
SourceType.C4_L2 grammar and verifies that it is
not already in use. |
void |
enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.System_extContext ctx)
Collects the alias of an external system definition in a
SourceType.C4_L3 grammar and verifies that it is
not already in use. |
void |
enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.SystemContext ctx)
Collects the alias of a system definition in a
SourceType.C4_L1 grammar and verifies that it is not
already in use. |
void |
enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.SystemContext ctx)
Collects the alias of a system definition in a
SourceType.C4_L2 grammar and verifies that it is not
already in use. |
void |
enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.SystemContext ctx)
Collects the alias of a system definition in a
SourceType.C4_L3 grammar and verifies that it is not
already in use. |
enterEveryRule, exitEveryRule, getDecoratedC4L1ParserListener, getDecoratedC4L2ParserListener, getDecoratedC4L3ParserListener, visitErrorNode, visitTerminalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenterBoundary, enterComma, enterDiagram, enterFooter, enterInclude, enterL1_title, enterLayout, enterRelationship, enterStatement, enterTitle, exitBoundary, exitCloud, exitComma, exitDiagram, exitEnterprise_boundary, exitFooter, exitInclude, exitL1_title, exitLayout, exitPerson_ext, exitPerson, exitRelationship, exitStatement, exitSystem_ext, exitSystem, exitTitleenterBoundary, enterComma, enterDiagram, enterFooter, enterInclude, enterL2_title, enterLayout, enterRelationship, enterStatement, enterTitle, exitBoundary, exitCloud, exitComma, exitContainer, exitDiagram, exitEnterprise_boundary, exitFooter, exitInclude, exitL2_title, exitLayout, exitPerson_ext, exitPerson, exitRelationship, exitStatement, exitSystem_boundary, exitSystem_ext, exitSystem, exitTitleenterBoundary, enterComma, enterDiagram, enterFooter, enterInclude, enterL3_title, enterLayout, enterRelationship, enterStatement, 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 AliasesShouldBeUniqueListener(AliasesShouldBeUniqueRule rule, org.thewonderlemming.c4plantuml.commons.Reporter reporter)
rule - the AliasesShouldBeUniqueRule instance to refer to.reporter - Reporter instance to report to.public void enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.CloudContext ctx)
SourceType.C4_L1 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L1Parser.cloud().
ctx - the parse treepublic void enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.CloudContext ctx)
SourceType.C4_L2 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L2Parser.cloud().
ctx - the parse treepublic void enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.CloudContext ctx)
SourceType.C4_L3 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L3Parser.cloud().
ctx - the parse treepublic void enterComponent(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.ComponentContext ctx)
SourceType.C4_L3 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L3Parser.component().
ctx - the parse treepublic void enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.ContainerContext ctx)
SourceType.C4_L2 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L2Parser.container().
ctx - the parse treepublic void enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.ContainerContext ctx)
SourceType.C4_L3 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L3Parser.container().
ctx - the parse treepublic void enterContainer_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Container_boundaryContext ctx)
SourceType.C4_L3 grammar and verifies that it
is not already in use.
Enter a parse tree produced by C4L3Parser.container_boundary().
ctx - the parse treepublic void enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.Enterprise_boundaryContext ctx)
SourceType.C4_L1 grammar and verifies that it
is not already in use.
Enter a parse tree produced by C4L1Parser.enterprise_boundary().
ctx - the parse treepublic void enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Enterprise_boundaryContext ctx)
SourceType.C4_L2 grammar and verifies that it
is not already in use.
Enter a parse tree produced by C4L2Parser.enterprise_boundary().
ctx - the parse treepublic void enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Enterprise_boundaryContext ctx)
SourceType.C4_L3 grammar and verifies that it
is not already in use.
Enter a parse tree produced by C4L3Parser.enterprise_boundary().
ctx - the parse treepublic void enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.PersonContext ctx)
SourceType.C4_L1 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L1Parser.person().
ctx - the parse treepublic void enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.PersonContext ctx)
SourceType.C4_L2 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L2Parser.person().
ctx - the parse treepublic void enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.PersonContext ctx)
SourceType.C4_L3 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L3Parser.person().
ctx - the parse treepublic void enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.Person_extContext ctx)
SourceType.C4_L1 grammar and verifies that it is
not already in use.
Enter a parse tree produced by C4L1Parser.person_ext().
ctx - the parse treepublic void enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Person_extContext ctx)
SourceType.C4_L2 grammar and verifies that it is
not already in use.
Enter a parse tree produced by C4L2Parser.person_ext().
ctx - the parse treepublic void enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Person_extContext ctx)
SourceType.C4_L3 grammar and verifies that it is
not already in use.
Enter a parse tree produced by C4L3Parser.person_ext().
ctx - the parse treepublic void enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.SystemContext ctx)
SourceType.C4_L1 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L1Parser.system().
ctx - the parse treepublic void enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.SystemContext ctx)
SourceType.C4_L2 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L2Parser.system().
ctx - the parse treepublic void enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.SystemContext ctx)
SourceType.C4_L3 grammar and verifies that it is not
already in use.
Enter a parse tree produced by C4L3Parser.system().
ctx - the parse treepublic void enterSystem_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_boundaryContext ctx)
SourceType.C4_L2 grammar and verifies that it is
not already in use.
Enter a parse tree produced by C4L2Parser.system_boundary().
ctx - the parse treepublic void enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.System_extContext ctx)
SourceType.C4_L1 grammar and verifies that it is
not already in use.
Enter a parse tree produced by C4L1Parser.system_ext().
ctx - the parse treepublic void enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_extContext ctx)
SourceType.C4_L2 grammar and verifies that it is
not already in use.
Enter a parse tree produced by C4L2Parser.system_ext().
ctx - the parse treepublic void enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.System_extContext ctx)
SourceType.C4_L3 grammar and verifies that it is
not already in use.
Enter a parse tree produced by C4L3Parser.system_ext().
ctx - the parse treeCopyright © 2020. All rights reserved.