Ignore:
Timestamp:
Sep 27, 2017, 4:24:16 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
7fc7cdb
Parents:
e4ea10b
git-author:
Rob Schluntz <rschlunt@…> (09/27/17 15:50:09)
git-committer:
Rob Schluntz <rschlunt@…> (09/27/17 16:24:16)
Message:

Make Attribute a child of BaseSyntaxNode?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/BaseSyntaxNode.h

    re4ea10b r5ea7a22  
    1818#include "Common/CodeLocation.h"
    1919class Visitor;
     20class Mutator;
    2021
    2122class BaseSyntaxNode {
     
    2526        virtual ~BaseSyntaxNode() {}
    2627
     28        virtual BaseSyntaxNode * clone() const = 0;
    2729        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;
    2932};
    3033
Note: See TracChangeset for help on using the changeset viewer.