public class C4L2GraphParseTreeListener extends Object implements C4L2ParserListenerDecorator
ParseTreeListener that parses C4 L2 grammar and feeds the JAXB model with the retrieved
information.| Constructor and Description |
|---|
C4L2GraphParseTreeListener()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.CloudContext ctx)
Enter a parse tree produced by
C4L2Parser.cloud(). |
void |
enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.ContainerContext ctx)
Enter a parse tree produced by
C4L2Parser.container(). |
void |
enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) |
void |
enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Person_extContext ctx)
Enter a parse tree produced by
C4L2Parser.person_ext(). |
void |
enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.PersonContext ctx)
Enter a parse tree produced by
C4L2Parser.person(). |
void |
enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.RelationshipContext ctx)
Enter a parse tree produced by
C4L2Parser.relationship(). |
void |
enterSystem_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_boundaryContext ctx)
Enter a parse tree produced by
C4L2Parser.system_boundary(). |
void |
enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_extContext ctx)
Enter a parse tree produced by
C4L2Parser.system_ext(). |
void |
enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.SystemContext ctx)
Enter a parse tree produced by
C4L2Parser.system(). |
void |
enterTitle(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.TitleContext ctx)
Enter a parse tree produced by
C4L2Parser.title(). |
void |
exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) |
org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListener |
getDecoratedC4L2ParserListener()
returns the instance of the
C4L2ParserListener being decorated. |
GraphModel |
getGraph()
Returns the result of the parsing as a graph.
|
List<Throwable> |
getUnrecoverableErrors()
Returns any unrecoverable exceptions that could have occurred during the parsing process.
|
void |
visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) |
void |
visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenterBoundary, enterComma, enterDiagram, enterEnterprise_boundary, enterFooter, enterInclude, enterL2_title, enterLayout, enterStatement, exitBoundary, exitCloud, exitComma, exitContainer, exitDiagram, exitEnterprise_boundary, exitFooter, exitInclude, exitL2_title, exitLayout, exitPerson_ext, exitPerson, exitRelationship, exitStatement, exitSystem_boundary, exitSystem_ext, exitSystem, exitTitlepublic C4L2GraphParseTreeListener()
public void enterCloud(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.CloudContext ctx)
C4L2Parser.cloud().enterCloud in interface C4L2ParserListenerDecoratorenterCloud in interface org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListenerctx - the parse treepublic void enterContainer(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.ContainerContext ctx)
C4L2Parser.container().enterContainer in interface C4L2ParserListenerDecoratorenterContainer in interface org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListenerctx - the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
Does nothing.
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void enterPerson(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.PersonContext ctx)
C4L2Parser.person().enterPerson in interface C4L2ParserListenerDecoratorenterPerson in interface org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListenerctx - the parse treepublic void enterPerson_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.Person_extContext ctx)
C4L2Parser.person_ext().enterPerson_ext in interface C4L2ParserListenerDecoratorenterPerson_ext in interface org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListenerctx - the parse treepublic void enterRelationship(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.RelationshipContext ctx)
C4L2Parser.relationship().enterRelationship in interface C4L2ParserListenerDecoratorenterRelationship in interface org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListenerctx - the parse treepublic void enterSystem(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.SystemContext ctx)
C4L2Parser.system().enterSystem in interface C4L2ParserListenerDecoratorenterSystem in interface org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListenerctx - the parse treepublic void enterSystem_boundary(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_boundaryContext ctx)
C4L2Parser.system_boundary().enterSystem_boundary in interface C4L2ParserListenerDecoratorenterSystem_boundary in interface org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListenerctx - the parse treepublic void enterSystem_ext(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.System_extContext ctx)
C4L2Parser.system_ext().enterSystem_ext in interface C4L2ParserListenerDecoratorenterSystem_ext in interface org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListenerctx - the parse treepublic void enterTitle(org.thewonderlemming.c4plantuml.grammars.generated.C4L2Parser.TitleContext ctx)
C4L2Parser.title().enterTitle in interface C4L2ParserListenerDecoratorenterTitle in interface org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListenerctx - the parse treepublic void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
Does nothing.
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic org.thewonderlemming.c4plantuml.grammars.generated.C4L2ParserListener getDecoratedC4L2ParserListener()
C4L2ParserListener being decorated.getDecoratedC4L2ParserListener in interface C4L2ParserListenerDecoratorC4L2ParserListener.public GraphModel getGraph()
public List<Throwable> getUnrecoverableErrors()
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
Does nothing.
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
Does nothing.
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListenerCopyright © 2020. All rights reserved.