| Index: runtime/vm/token.h
|
| ===================================================================
|
| --- runtime/vm/token.h (revision 8672)
|
| +++ runtime/vm/token.h (working copy)
|
| @@ -268,9 +268,8 @@
|
| (tok == Token::kDOUBLE));
|
| }
|
|
|
| - // Returns kILLEGAL if 'name' does not match a BinaryOp.
|
| - static Token::Kind GetBinaryOp(const String& name);
|
| - static Token::Kind GetUnaryOp(const String& name);
|
| + static bool IsBinaryToken(Token::Kind token);
|
| + static bool IsUnaryToken(Token::Kind token);
|
|
|
| private:
|
| static const char* name_[];
|
|
|