diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-05 00:28:46 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-05 00:28:46 +0800 |
commit | df4db1de0714e000376bc1efa3db85d57c6a6819 (patch) | |
tree | 98bac4d72a9fc3c5226b9a05ebb65a899ad1ccae /Token.h | |
parent | 05964375f888e8b8a3ccf5bc01d9cfff8fd00566 (diff) | |
parent | 5af545d47d7920d0e58c6813ba34f108ce5d50f6 (diff) | |
download | dexon-solidity-df4db1de0714e000376bc1efa3db85d57c6a6819.tar dexon-solidity-df4db1de0714e000376bc1efa3db85d57c6a6819.tar.gz dexon-solidity-df4db1de0714e000376bc1efa3db85d57c6a6819.tar.bz2 dexon-solidity-df4db1de0714e000376bc1efa3db85d57c6a6819.tar.lz dexon-solidity-df4db1de0714e000376bc1efa3db85d57c6a6819.tar.xz dexon-solidity-df4db1de0714e000376bc1efa3db85d57c6a6819.tar.zst dexon-solidity-df4db1de0714e000376bc1efa3db85d57c6a6819.zip |
Merge branch 'develop' into natspec_export_json
Diffstat (limited to 'Token.h')
-rw-r--r-- | Token.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -314,25 +314,11 @@ public: } // Predicates - static bool isKeyword(Value tok) { return m_tokenType[tok] == 'K'; } - static bool isIdentifier(Value tok) { return tok == IDENTIFIER; } static bool isElementaryTypeName(Value tok) { return INT <= tok && tok < TYPES_END; } static bool isAssignmentOp(Value tok) { return ASSIGN <= tok && tok <= ASSIGN_MOD; } static bool isBinaryOp(Value op) { return COMMA <= op && op <= MOD; } - static bool isTruncatingBinaryOp(Value op) { return BIT_OR <= op && op <= SHR; } static bool isArithmeticOp(Value op) { return ADD <= op && op <= MOD; } static bool isCompareOp(Value op) { return EQ <= op && op <= IN; } - static bool isOrderedRelationalCompareOp(Value op) - { - return op == LT || op == LTE || op == GT || op == GTE; - } - static bool isEqualityOp(Value op) { return op == EQ; } - static bool isInequalityOp(Value op) { return op == NE; } - static bool isArithmeticCompareOp(Value op) - { - return isOrderedRelationalCompareOp(op) || - isEqualityOp(op) || isInequalityOp(op); - } static Value AssignmentToBinaryOp(Value op) { |