mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Tuple expressions.
This commit is contained in:
@@ -256,6 +256,14 @@ bool ASTPrinter::visit(Assignment const& _node)
|
||||
return goDeeper();
|
||||
}
|
||||
|
||||
bool ASTPrinter::visit(TupleExpression const& _node)
|
||||
{
|
||||
writeLine(string("TupleExpression"));
|
||||
printType(_node);
|
||||
printSourcePart(_node);
|
||||
return goDeeper();
|
||||
}
|
||||
|
||||
bool ASTPrinter::visit(UnaryOperation const& _node)
|
||||
{
|
||||
writeLine(string("UnaryOperation (") + (_node.isPrefixOperation() ? "prefix" : "postfix") +
|
||||
@@ -477,6 +485,11 @@ void ASTPrinter::endVisit(Assignment const&)
|
||||
m_indentation--;
|
||||
}
|
||||
|
||||
void ASTPrinter::endVisit(TupleExpression const&)
|
||||
{
|
||||
m_indentation--;
|
||||
}
|
||||
|
||||
void ASTPrinter::endVisit(UnaryOperation const&)
|
||||
{
|
||||
m_indentation--;
|
||||
|
||||
Reference in New Issue
Block a user