parent
eee1a3854e
commit
0c11af8fc5
@ -1043,12 +1043,10 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
);
|
||||
|
||||
case tt._null:
|
||||
node.value = this.match(tt._null);
|
||||
this.next();
|
||||
return this.finishNode(node, "NullLiteralTypeAnnotation");
|
||||
|
||||
case tt._this:
|
||||
node.value = this.match(tt._this);
|
||||
this.next();
|
||||
return this.finishNode(node, "ThisTypeAnnotation");
|
||||
|
||||
|
||||
@ -152,8 +152,7 @@
|
||||
"line": 2,
|
||||
"column": 25
|
||||
}
|
||||
},
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
"typeParameters": null
|
||||
}
|
||||
|
||||
@ -100,8 +100,7 @@
|
||||
"line": 1,
|
||||
"column": 13
|
||||
}
|
||||
},
|
||||
"value": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -142,8 +142,7 @@
|
||||
"line": 1,
|
||||
"column": 22
|
||||
}
|
||||
},
|
||||
"value": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
|
||||
@ -529,8 +529,7 @@
|
||||
"line": 12,
|
||||
"column": 13
|
||||
}
|
||||
},
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
"leadingComments": [
|
||||
{
|
||||
|
||||
@ -212,8 +212,7 @@
|
||||
"line": 1,
|
||||
"column": 21
|
||||
}
|
||||
},
|
||||
"value": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ExistsTypeAnnotation",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user