Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Latest commit

 

History

History
33 lines (29 loc) · 3.49 KB

types.md

File metadata and controls

33 lines (29 loc) · 3.49 KB

UAST Types

For every UAST type in every driver the following two values are reported:

  • fixtures usage - number of times this type was used in driver fixtures (*.sem.uast files)
  • code usage - number of times this type was used in in the driver mapping DSL code (normalizer.go file)

The format is fixtures usage / code usage in case code usage is not zero. Otherwise, only fixture usage is reported.

Bash C++ C# Go Java JavaScript PHP Python Ruby TypeScript
uast:Position 15884 52948 36468 45464 12684 69088 9738 16924 7992 2348
uast:Positions 7942 26474 18258 18530 6342 34580 6557 11319 3996 1174
uast:Identifier 1840 9805 3028 8129 2043 11817 2097 4758 1683 -
uast:String 538 729 118 150 21 670 299 429 267 -
uast:Bool - - 29 - - - - 34 55 -
uast:QualifiedIdentifier - 948 24 72 36 - 30 18 - -
uast:Comment 121 178 40 870 60 1986 146 331 6 -
uast:Group - - 24 - 12 - - 3 - -
uast:FunctionGroup 28 274 222 236 120 36 54 202 114 -
uast:Block 28 600 322 765 369 1352 411 202 326 -
uast:Alias 28 274 223 242 120 74 84 217 114 -
uast:Import - - 38 198 13 35 - - - -
uast:RuntimeImport - - - - - - 29 66 12 -
uast:RuntimeReImport - - - - - - 7 - - -
uast:InlineImport - 144 - - - - - - - -
uast:Argument - 386 405 645 94 71 234 478 166 -
uast:FunctionType 28 274 222 259 120 36 54 202 114 -
uast:Function 28 274 222 236 120 36 54 202 114 -

Don't see your favorite AST construct represented? Help us!