mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
copier
This commit is contained in:
parent
6769a9a503
commit
d34054ef58
@ -56,6 +56,8 @@ public:
|
|||||||
Statement operator()(ForLoop const&);
|
Statement operator()(ForLoop const&);
|
||||||
Statement operator()(Block const& _block);
|
Statement operator()(Block const& _block);
|
||||||
|
|
||||||
|
virtual Statement translate(Statement const& _statement);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
std::vector<T> translateVector(std::vector<T> const& _values);
|
std::vector<T> translateVector(std::vector<T> const& _values);
|
||||||
@ -65,7 +67,6 @@ protected:
|
|||||||
{
|
{
|
||||||
return _v ? std::make_shared<T>(translate(*_v)) : nullptr;
|
return _v ? std::make_shared<T>(translate(*_v)) : nullptr;
|
||||||
}
|
}
|
||||||
Statement translate(Statement const& _statement);
|
|
||||||
Block translate(Block const& _block);
|
Block translate(Block const& _block);
|
||||||
Case translate(Case const& _case);
|
Case translate(Case const& _case);
|
||||||
Identifier translate(Identifier const& _identifier);
|
Identifier translate(Identifier const& _identifier);
|
||||||
|
Loading…
Reference in New Issue
Block a user