ast
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
Here are 1,115 public repositories matching this topic...
-
Updated
Mar 2, 2021 - TypeScript
-
Updated
Dec 11, 2020 - JavaScript
-
Updated
Mar 3, 2021 - PHP
-
Updated
Feb 26, 2021 - JavaScript
-
Updated
Mar 2, 2021 - JavaScript
-
Updated
Mar 3, 2021 - Java
-
Updated
Mar 2, 2021 - TypeScript
-
Updated
Feb 6, 2021 - Java
-
Updated
Sep 4, 2020 - JavaScript
-
Updated
Feb 26, 2021 - JavaScript
-
Updated
May 9, 2017 - JavaScript
-
Updated
Mar 1, 2021 - Go
-
Updated
Feb 14, 2021 - JavaScript
-
Updated
Oct 29, 2019 - Go
Is your feature request related to a problem? Please describe.
No MappedTypeNode definition in ts-morph.
No TypeQueryNode definition in ts-morph.
No TypeOperatorNode definition in ts-morph.
And, ideally, a configurable list of annotations denoting generated source or AST structures.
See #105 for the kind of issue this seeks to avoid, and the limitations of this fix.
-
Updated
Mar 3, 2021 - PHP
-
Updated
Mar 1, 2021 - C++
Problem
Sometimes code elements have no package and getPackage return nulls. This introduces null checks and surprises for new developers. INRIA/spoon@84c84e1 as seen here, package can be null.
Solution
A null object[0],[1] could improve code quality. A comparable implementation is [NoSourcePosition](https://github.com/INRI
- Wikipedia
- Wikipedia
Bug Report
Current behavior
No core-js polyfills in the final bundle.
Since babel/babel#10862 the core-js polyfill paths always have
.jsextension.In
shouldReplacefunction https://github.com/babel/babel/blob/41085248560b1403b8d0f99f108491e679531c6c/packages/babel-preset-env/src/polyfills/corejs3/entry-plugin.js#L52-L64the module path is compared wi