| Index: sdk/lib/_internal/compiler/implementation/tree/nodes.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/tree/nodes.dart b/sdk/lib/_internal/compiler/implementation/tree/nodes.dart
|
| index 9a3c43cd1ea3901620f790b941416f36be69ce01..c9e10372b1c55dffd0187aace8ef051c818cb3fd 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/tree/nodes.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/tree/nodes.dart
|
| @@ -369,6 +369,16 @@ class Send extends Expression {
|
| bool get isParameterCheck =>
|
| isOperator && identical(selector.asOperator().source.stringValue, '?');
|
|
|
| + bool get isTypeTest {
|
| + return isOperator
|
| + && identical(selector.asOperator().source.stringValue, 'is');
|
| + }
|
| +
|
| + bool get isTypeCast {
|
| + return isOperator
|
| + && identical(selector.asOperator().source.stringValue, 'as');
|
| + }
|
| +
|
| bool get isIsNotCheck {
|
| return isOperator
|
| && identical(selector.asOperator().source.stringValue, 'is')
|
|
|