mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Logical operators.
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
bool visit(Break const& _breakStatement) override;
|
||||
void endVisit(Return const& _return) override;
|
||||
void endVisit(UnaryOperation const& _unaryOperation) override;
|
||||
void endVisit(BinaryOperation const& _binOp) override;
|
||||
bool visit(BinaryOperation const& _binOp) override;
|
||||
void endVisit(FunctionCall const& _funCall) override;
|
||||
bool visit(InlineAssembly const& _inlineAsm) override;
|
||||
bool visit(Identifier const& _identifier) override;
|
||||
@@ -64,6 +64,8 @@ private:
|
||||
std::string expressionAsType(Expression const& _expression, Type const& _to);
|
||||
std::ostream& defineExpression(Expression const& _expression);
|
||||
|
||||
void appendAndOrOperatorCode(BinaryOperation const& _binOp);
|
||||
|
||||
void setLValue(Expression const& _expression, std::unique_ptr<IRLValue> _lvalue);
|
||||
|
||||
static Type const& type(Expression const& _expression);
|
||||
|
||||
Reference in New Issue
Block a user