Changeset 5ea7a22 for src/SynTree/BaseSyntaxNode.h
- Timestamp:
- Sep 27, 2017, 4:24:16 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 7fc7cdb
- Parents:
- e4ea10b7
- git-author:
- Rob Schluntz <rschlunt@…> (09/27/17 15:50:09)
- git-committer:
- Rob Schluntz <rschlunt@…> (09/27/17 16:24:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/BaseSyntaxNode.h
re4ea10b7 r5ea7a22 18 18 #include "Common/CodeLocation.h" 19 19 class Visitor; 20 class Mutator; 20 21 21 22 class BaseSyntaxNode { … … 25 26 virtual ~BaseSyntaxNode() {} 26 27 28 virtual BaseSyntaxNode * clone() const = 0; 27 29 virtual void accept( Visitor & v ) = 0; 28 virtual void print( std::ostream & os, int indent = 0 ) const = 0; 30 virtual BaseSyntaxNode * acceptMutator( Mutator & m ) = 0; 31 virtual void print( std::ostream & os, int indent = 0 ) const = 0; 29 32 }; 30 33
Note: See TracChangeset
for help on using the changeset viewer.