Index: lib/compiler/implementation/tree/nodes.dart |
=================================================================== |
--- lib/compiler/implementation/tree/nodes.dart (revision 11792) |
+++ lib/compiler/implementation/tree/nodes.dart (working copy) |
@@ -282,6 +282,8 @@ |
isOperator && selector.asOperator().source.stringValue === '&&'; |
bool get isLogicalOr => |
isOperator && selector.asOperator().source.stringValue === '||'; |
+ bool get isParameterCheck => |
+ isOperator && selector.asOperator().source.stringValue === '?'; |
Token getBeginToken() { |
if (isPrefix && !isIndex) return selector.getBeginToken(); |