@@ -115,7 +115,11 @@ export default class State {
|
||||
classLevel: number;
|
||||
|
||||
// Labels in scope.
|
||||
labels: Array<{ kind: ?("loop" | "switch"), statementStart?: number }>;
|
||||
labels: Array<{
|
||||
kind: ?("loop" | "switch"),
|
||||
name?: ?string,
|
||||
statementStart?: number,
|
||||
}>;
|
||||
|
||||
// Leading decorators. Last element of the stack represents the decorators in current context.
|
||||
// Supports nesting of decorators, e.g. @foo(@bar class inner {}) class outer {}
|
||||
@@ -140,6 +144,7 @@ export default class State {
|
||||
start: number,
|
||||
leadingComments: ?Array<N.Comment>,
|
||||
trailingComments: ?Array<N.Comment>,
|
||||
type: string,
|
||||
}>;
|
||||
commentPreviousNode: N.Node;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user