public class AliasesShouldFollowStandardConventionListener
extends org.thewonderlemming.c4plantuml.grammars.C4BaseListener
ParseTreeListener implementation that verifies that aliases follow a defined format.| Constructor and Description |
|---|
AliasesShouldFollowStandardConventionListener(AliasesShouldFollowStandardConventionRule rule,
org.thewonderlemming.c4plantuml.commons.Reporter reporter,
String aliasFormat)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enterBoundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.BoundaryContext ctx)
Checks that the aliases of a boundary definition in a
SourceType.C4_L1 grammar have the expected format
or reports them. |
void |
enterBoundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.BoundaryContext ctx)
Checks that the aliases of a boundary definition in a
SourceType.C4_L2 have the expected format or
reports them. |
void |
enterBoundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.BoundaryContext ctx)
Checks that the aliases of a boundary definition in a
SourceType.C4_L3 have the expected format or
reports them. |
void |
enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.CloudContext ctx)
Checks that the alias of a cloud definition in a
SourceType.C4_L1 grammar has the expected format or
reports it. |
void |
enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.CloudContext ctx)
Checks that the alias of a cloud definition in a
SourceType.C4_L2 has the expected format or reports it. |
void |
enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.CloudContext ctx)
Checks that the alias of a cloud definition in a
SourceType.C4_L3 has the expected format or reports it. |
void |
enterComponent(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.ComponentContext ctx)
Checks that the alias of a component definition in a
SourceType.C4_L3 has the expected format or reports
it. |
void |
enterContainer_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Container_boundaryContext ctx)
Checks that the alias of a container boundary definition in a
SourceType.C4_L3 has the expected format or
reports it. |
void |
enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.ContainerContext ctx)
Checks that the alias of a container definition in a
SourceType.C4_L2 has the expected format or reports
it. |
void |
enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.ContainerContext ctx)
Checks that the alias of a container definition in a
SourceType.C4_L3 has the expected format or reports
it. |
void |
enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.Enterprise_boundaryContext ctx)
Checks that the alias of a enterprise boundary definition in a
SourceType.C4_L1 grammar has the expected
format or reports it. |
void |
enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Enterprise_boundaryContext ctx)
Checks that the alias of a enterprise boundary definition in a
SourceType.C4_L2 has the expected format
or reports it. |
void |
enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Enterprise_boundaryContext ctx)
Checks that the alias of a enterprise boundary definition in a
SourceType.C4_L3 has the expected format
or reports it. |
void |
enterLayout(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.LayoutContext ctx)
Checks that the aliases of a layout definition in a
SourceType.C4_L1 grammar have the expected format or
reports them. |
void |
enterLayout(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.LayoutContext ctx)
Checks that the aliases of a layout definition in a
SourceType.C4_L2 have the expected format or reports
them. |
void |
enterLayout(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.LayoutContext ctx)
Checks that the aliases of a layout definition in a
SourceType.C4_L3 have the expected format or reports
them. |
void |
enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.Person_extContext ctx)
Checks that the alias of an external person definition in a
SourceType.C4_L1 grammar has the expected
format or reports it. |
void |
enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Person_extContext ctx)
Checks that the alias of an external person definition in a
SourceType.C4_L2 has the expected format or
reports it. |
void |
enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Person_extContext ctx)
Checks that the alias of an external person definition in a
SourceType.C4_L3 has the expected format or
reports it. |
void |
enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.PersonContext ctx)
Checks that the alias of a person definition in a
SourceType.C4_L1 grammar has the expected format or
reports it. |
void |
enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.PersonContext ctx)
Checks that the alias of a person definition in a
SourceType.C4_L2 has the expected format or reports it. |
void |
enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.PersonContext ctx)
Checks that the alias of a person definition in a
SourceType.C4_L3 has the expected format or reports it. |
void |
enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.RelationshipContext ctx)
Checks that the aliases of a relationship definition in a
SourceType.C4_L1 grammar have the expected
format or reports them. |
void |
enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.RelationshipContext ctx)
Checks that the aliases of a relationship definition in a
SourceType.C4_L2 have the expected format or
reports them. |
void |
enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.RelationshipContext ctx)
Checks that the aliases of a relationship definition in a
SourceType.C4_L3 have the expected format or
reports them. |
void |
enterSystem_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_boundaryContext ctx)
Checks that the alias of a system boundary definition in a
SourceType.C4_L2 has the expected format or
reports it. |
void |
enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.System_extContext ctx)
Checks that the alias of an external system definition in a
SourceType.C4_L1 grammar has the expected
format or reports it. |
void |
enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_extContext ctx)
Checks that the alias of an external system definition in a
SourceType.C4_L2 has the expected format or
reports it. |
void |
enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.System_extContext ctx)
Checks that the alias of an external system definition in a
SourceType.C4_L3 has the expected format or
reports it. |
void |
enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.SystemContext ctx)
Checks that the alias of a system definition in a
SourceType.C4_L1 grammar has the expected format or
reports it. |
void |
enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.SystemContext ctx)
Checks that the alias of a system definition in a
SourceType.C4_L2 has the expected format or reports it. |
void |
enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.SystemContext ctx)
Checks that the alias of a system definition in a
SourceType.C4_L3 has the expected format or reports it. |
enterEveryRule, exitEveryRule, getDecoratedC4L1ParserListener, getDecoratedC4L2ParserListener, getDecoratedC4L3ParserListener, visitErrorNode, visitTerminalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenterComma, enterDiagram, enterFooter, enterInclude, enterL1_title, enterStatement, enterTitle, exitBoundary, exitCloud, exitComma, exitDiagram, exitEnterprise_boundary, exitFooter, exitInclude, exitL1_title, exitLayout, exitPerson_ext, exitPerson, exitRelationship, exitStatement, exitSystem_ext, exitSystem, exitTitleenterComma, enterDiagram, enterFooter, enterInclude, enterL2_title, enterStatement, enterTitle, exitBoundary, exitCloud, exitComma, exitContainer, exitDiagram, exitEnterprise_boundary, exitFooter, exitInclude, exitL2_title, exitLayout, exitPerson_ext, exitPerson, exitRelationship, exitStatement, exitSystem_boundary, exitSystem_ext, exitSystem, exitTitleenterComma, enterDiagram, enterFooter, enterInclude, enterL3_title, 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 AliasesShouldFollowStandardConventionListener(AliasesShouldFollowStandardConventionRule rule, org.thewonderlemming.c4plantuml.commons.Reporter reporter, String aliasFormat)
rule - the AliasesShouldBeUniqueRule instance to refer to.reporter - Reporter instance to report to.aliasFormat - the alias regular expression to follow.public void enterBoundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.BoundaryContext ctx)
SourceType.C4_L1 grammar have the expected format
or reports them.
public void enterBoundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.BoundaryContext ctx)
SourceType.C4_L2 have the expected format or
reports them.
public void enterBoundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.BoundaryContext ctx)
SourceType.C4_L3 have the expected format or
reports them.
public void enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.CloudContext ctx)
SourceType.C4_L1 grammar has the expected format or
reports it.
public void enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.CloudContext ctx)
SourceType.C4_L2 has the expected format or reports it.
public void enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.CloudContext ctx)
SourceType.C4_L3 has the expected format or reports it.
public void enterComponent(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.ComponentContext ctx)
SourceType.C4_L3 has the expected format or reports
it.
public void enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.ContainerContext ctx)
SourceType.C4_L2 has the expected format or reports
it.
public void enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.ContainerContext ctx)
SourceType.C4_L3 has the expected format or reports
it.
public void enterContainer_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Container_boundaryContext ctx)
SourceType.C4_L3 has the expected format or
reports it.
public void enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.Enterprise_boundaryContext ctx)
SourceType.C4_L1 grammar has the expected
format or reports it.
public void enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Enterprise_boundaryContext ctx)
SourceType.C4_L2 has the expected format
or reports it.
public void enterEnterprise_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Enterprise_boundaryContext ctx)
SourceType.C4_L3 has the expected format
or reports it.
public void enterLayout(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.LayoutContext ctx)
SourceType.C4_L1 grammar have the expected format or
reports them.
public void enterLayout(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.LayoutContext ctx)
SourceType.C4_L2 have the expected format or reports
them.
public void enterLayout(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.LayoutContext ctx)
SourceType.C4_L3 have the expected format or reports
them.
public void enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.PersonContext ctx)
SourceType.C4_L1 grammar has the expected format or
reports it.
public void enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.PersonContext ctx)
SourceType.C4_L2 has the expected format or reports it.
public void enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.PersonContext ctx)
SourceType.C4_L3 has the expected format or reports it.
public void enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.Person_extContext ctx)
SourceType.C4_L1 grammar has the expected
format or reports it.
public void enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Person_extContext ctx)
SourceType.C4_L2 has the expected format or
reports it.
public void enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.Person_extContext ctx)
SourceType.C4_L3 has the expected format or
reports it.
public void enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.RelationshipContext ctx)
SourceType.C4_L1 grammar have the expected
format or reports them.
public void enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.RelationshipContext ctx)
SourceType.C4_L2 have the expected format or
reports them.
public void enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.RelationshipContext ctx)
SourceType.C4_L3 have the expected format or
reports them.
public void enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.SystemContext ctx)
SourceType.C4_L1 grammar has the expected format or
reports it.
public void enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.SystemContext ctx)
SourceType.C4_L2 has the expected format or reports it.
public void enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.SystemContext ctx)
SourceType.C4_L3 has the expected format or reports it.
public void enterSystem_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_boundaryContext ctx)
SourceType.C4_L2 has the expected format or
reports it.
public void enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L1Parser.System_extContext ctx)
SourceType.C4_L1 grammar has the expected
format or reports it.
public void enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_extContext ctx)
SourceType.C4_L2 has the expected format or
reports it.
public void enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L3Parser.System_extContext ctx)
SourceType.C4_L3 has the expected format or
reports it.
Copyright © 2020. All rights reserved.