about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2014-02-27 23:49:25 -0800
committerSteven Fackler <sfackler@gmail.com>2014-03-11 00:28:25 -0700
commiteb4cbd55a859be68d381ce4fdb597b0893c18c04 (patch)
treef4240852dd1c31e8494306acfd331a9946f0c0d6 /src/rustllvm/ExecutionEngineWrapper.cpp
parent294d3ddb89c86a91b0ac7298a31e729a9192171f (diff)
downloadrust-eb4cbd55a859be68d381ce4fdb597b0893c18c04.tar.gz
rust-eb4cbd55a859be68d381ce4fdb597b0893c18c04.zip
Add an ItemModifier syntax extension type
Where ItemDecorator creates new items given a single item, ItemModifier
alters the tagged item in place. The expansion rules for this are a bit
weird, but I think are the most reasonable option available.

When an item is expanded, all ItemModifier attributes are stripped from
it and the item is folded through all ItemModifiers. At that point, the
process repeats until there are no ItemModifiers in the new item.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions