Last active
June 14, 2018 21:50
-
-
Save Yoric/3cf4bd7de1d6653c72ff83184db1f705 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface EagerFunctionDeclaration : Node { | |
attribute FunctionDeclarationPrologue prologue; | |
attribute FunctionDeclarationContents data; | |
}; | |
interface SkippableFunctionDeclaration : Node { | |
attribute FunctionDeclarationPrologue prologue; | |
[Skippable] attribute FunctionDeclarationContents data; | |
}; | |
interface FunctionDeclarationPrologue : Node { | |
attribute BindingIdentifier name; | |
attribute FrozenArray<Directive> directives; | |
}; | |
interface FunctionDeclarationContents : Node { | |
attribute boolean isAsync; | |
attribute boolean isGenerator; | |
attribute AssertedParameterScope parameterScope; | |
attribute AssertedVarScope? bodyScope; | |
attribute Parameter param; | |
attribute FunctionBody body; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment