repo.or.cz
/
ozulis.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[refractor] moved classes into ozulis namespace and created a folder plugins
[ozulis.git]
/
src
/
ozulis
/
ast
/
simplify-visitor.hxx
blob
0f74747fb9cd27a53f6660b19f83790046b4f809
1
namespace
ozulis
2
{
3
namespace
ast
4
{
5
inline
void
6
SimplifyVisitor
::
simplify
(
Exp
*&
node
)
7
{
8
assert
(
node
);
9
assert
(
node
->
type
);
10
11
node
->
accept
(*
this
);
12
node
=
replacement_
;
13
}
14
}
15
}