Skip to content

Instantly share code, notes, and snippets.

@simonpai
Created August 26, 2014 06:40
Show Gist options
  • Save simonpai/a2e318e7dd6953852130 to your computer and use it in GitHub Desktop.
Save simonpai/a2e318e7dd6953852130 to your computer and use it in GitHub Desktop.
Quire analysis AST type counts.
time cost: 6905ms
{
AdjacentStrings: 64
Annotation: 408
ArgumentList: 13635
AsExpression: 142
AssertStatement: 90
AssignmentExpression: 2390
BinaryExpression: 3989
Block: 4737
BlockFunctionBody: 3513
BooleanLiteral: 838
BreakStatement: 166
CascadeExpression: 348
CatchClause: 45
ClassDeclaration: 387
Comment: 2271
CommentReference: 1220
CompilationUnit: 283
ConditionalExpression: 602
ConstructorDeclaration: 391
ConstructorFieldInitializer: 138
ConstructorName: 1847
ContinueStatement: 31
DeclaredIdentifier: 203
DefaultFormalParameter: 834
DoubleLiteral: 17
EmptyFunctionBody: 295
EmptyStatement: 15
ExportDirective: 5
ExpressionFunctionBody: 2047
ExpressionStatement: 7037
ExtendsClause: 235
FieldDeclaration: 1157
FieldFormalParameter: 279
ForEachStatement: 203
ForStatement: 81
FormalParameterList: 5551
FunctionDeclaration: 1048
FunctionDeclarationStatement: 25
FunctionExpression: 3276
FunctionExpressionInvocation: 10
FunctionTypeAlias: 48
FunctionTypedFormalParameter: 195
HideCombinator: 7
IfStatement: 2524
ImplementsClause: 41
ImportDirective: 967
IndexExpression: 2085
InstanceCreationExpression: 1847
IntegerLiteral: 1989
InterpolationExpression: 1098
InterpolationString: 1809
IsExpression: 264
Label: 1419
LabeledStatement: 2
LibraryDirective: 105
LibraryIdentifier: 281
ListLiteral: 990
MapLiteral: 384
MapLiteralEntry: 1549
MethodDeclaration: 2188
MethodInvocation: 11554
NamedExpression: 1417
NullLiteral: 2478
ParenthesizedExpression: 303
PartDirective: 180
PartOfDirective: 176
PostfixExpression: 58
PrefixExpression: 516
PrefixedIdentifier: 6645
PropertyAccess: 1150
RedirectingConstructorInvocation: 23
ReturnStatement: 2220
ShowCombinator: 352
SimpleFormalParameter: 7403
SimpleIdentifier: 94301
SimpleStringLiteral: 6675
StringInterpolation: 711
SuperConstructorInvocation: 201
SuperExpression: 154
SwitchCase: 251
SwitchDefault: 21
SwitchStatement: 85
ThisExpression: 405
ThrowExpression: 171
TopLevelVariableDeclaration: 726
TryStatement: 45
TypeArgumentList: 2814
TypeName: 20046
TypeParameter: 87
TypeParameterList: 74
VariableDeclaration: 5182
VariableDeclarationList: 4394
VariableDeclarationStatement: 2448
WhileStatement: 18
WithClause: 14
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment