Created
June 8, 2012 10:34
-
-
Save rblaze/2894934 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ast_node {}; | |
class retrn : public ast_node { | |
retrn(vector<expr *>); | |
} | |
class expr : public ast_node {}; | |
class intconst : public expr {}; | |
class plus : public expr { | |
plus(expr *, expr *); | |
}; | |
class minus : public expr { | |
minus(expr *, expr *); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment