Skip to content

Commit

Permalink
AST Dump Dot
Browse files Browse the repository at this point in the history
* added implementation definition
* related to sealangdotorg/sea#35
  • Loading branch information
ppaulweber committed Jul 31, 2017
1 parent 0b84b4b commit f408cb8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/transform/AstDumpDotPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class AstDumpDotVisitor final : public RecursiveVisitor
void visit( EnumerationDefinition& node ) override;
void visit( StructureDefinition& node ) override;
void visit( FeatureDefinition& node ) override;
void visit( ImplementationDefinition& node ) override;

void visit( ValueAtom& node ) override;
void visit( ReferenceAtom& node ) override;
Expand Down Expand Up @@ -217,6 +218,13 @@ void AstDumpDotVisitor::visit( FeatureDefinition& node )
RecursiveVisitor::visit( node );
}

void AstDumpDotVisitor::visit( ImplementationDefinition& node )
{
DotLink link( this, &node );
dumpNode( node, "ImplementationDefinition" );
RecursiveVisitor::visit( node );
}

void AstDumpDotVisitor::visit( ValueAtom& node )
{
DotLink link( this, &node );
Expand Down

0 comments on commit f408cb8

Please sign in to comment.