Commit Graph

348 Commits

Author SHA1 Message Date
Asger Feldthaus
13aa511364 JS: Support TemplatePlaceholderTag.getEnclosingExpr
fixup! makeLocation
2021-08-11 12:50:52 +02:00
Asger Feldthaus
f26e94c0db JS: Rename to Angular-style template 2021-08-11 12:36:34 +02:00
Asger Feldthaus
8666bc1894 JS: Extract placeholders in HTML 2021-08-11 12:36:31 +02:00
Asger Feldthaus
a7cdf532fa JS: Parse mustache-style tags as expressions 2021-08-10 12:15:43 +02:00
Erik Krogh Kristensen
5ae3c5952c support abstract signatures 2021-02-24 09:34:53 +01:00
Erik Krogh Kristensen
f385c55f2c add support for rest types elements in the middle of a tuple 2021-02-24 09:34:53 +01:00
Asger Feldthaus
2ba98da107 JS: Only extract local vars in TemplateTopLevel
Angular template expressions cannot refer to global variables, any
unqualified identifier is a reference to a property provided by the
component.

We extract them as implicitly declared local variables which the
QL model can then connect with data flow steps.
2021-01-18 12:19:08 +00:00
Asger Feldthaus
f24af58a60 JS: Extract mapping from HTML node to parent Expression 2021-01-18 12:19:08 +00:00
Asger Feldthaus
3b666a5646 JS: Extract mapping from TopLevel to parent HTML node 2021-01-18 12:19:08 +00:00
Asger Feldthaus
16a2a60b9a JS: Add AngularPipeRef 2021-01-18 12:16:13 +00:00
Asger Feldthaus
5676891e44 JS: Add TemplateLiteralTypeExpr 2020-12-03 13:58:39 +00:00
Erik Krogh Kristensen
5a159abd75 renamed "interfacedefinition" to "interface_definition" 2020-09-04 11:55:33 +02:00
Erik Krogh Kristensen
3785a10ee8 renamed "classdefinition" to "class_definition" 2020-09-04 11:55:32 +02:00
Erik Krogh Kristensen
5467efe117 renamed "typeassertion" to "type_assertion" 2020-09-04 11:55:31 +02:00
Erik Krogh Kristensen
4af9508506 renamed "importspecifier" to "import_specifier" 2020-09-04 11:55:30 +02:00
Erik Krogh Kristensen
35caaf5c93 renamed "comprehensionblock" to "comprehension_block" 2020-09-04 11:55:30 +02:00
Erik Krogh Kristensen
273ae710b0 renamed "comprehensionexpr" to "comprehension_expr" 2020-09-04 11:55:29 +02:00
Erik Krogh Kristensen
586a823ce7 renamed "exprparent" to "expr_parent" 2020-09-04 11:55:28 +02:00
Erik Krogh Kristensen
b28cbf310e renamed "typedefinition" to "type_definition" 2020-09-04 11:55:28 +02:00
Erik Krogh Kristensen
bcbd1f045f renamed "namespacedefinition" to "namespace_definition" 2020-09-04 11:55:27 +02:00
Erik Krogh Kristensen
8c812dcdfb renamed "exportdeclaration" to "export_declaration" 2020-09-04 11:55:26 +02:00
Erik Krogh Kristensen
4f8d2156c0 renamed "declstmt" to "decl_stmt" 2020-09-04 11:55:26 +02:00
Erik Krogh Kristensen
5e58d34e19 renamed "exportasnamespacedeclaration" to "export_as_namespace_declaration" 2020-09-04 11:55:25 +02:00
Erik Krogh Kristensen
723a1b8483 renamed "enumdeclaration" to "enum_declaration" 2020-09-04 11:55:24 +02:00
Erik Krogh Kristensen
0d5db155e6 renamed "typealiasdeclaration" to "type_alias_declaration" 2020-09-04 11:55:23 +02:00
Erik Krogh Kristensen
232dbe9fd1 renamed "interfacedeclaration" to "interface_declaration" 2020-09-04 11:55:23 +02:00
Erik Krogh Kristensen
7b94cf7d8e renamed "doccomment" to "doc_comment" 2020-09-04 11:55:22 +02:00
Erik Krogh Kristensen
9a66f3a721 renamed "slashstarcomment" to "slashstar_comment" 2020-09-04 11:55:21 +02:00
Erik Krogh Kristensen
13a593c7b4 renamed "slashslashcomment" to "slashslash_comment" 2020-09-04 11:55:21 +02:00
Erik Krogh Kristensen
132d6d0068 renamed "htmlcommentstart" to "html_comment_start" 2020-09-04 11:55:20 +02:00
Erik Krogh Kristensen
6be328b400 renamed "blockcomment" to "block_comment" 2020-09-04 11:55:19 +02:00
Erik Krogh Kristensen
03617fe18b renamed "linecomment" to "line_comment" 2020-09-04 11:55:18 +02:00
Erik Krogh Kristensen
136345d745 renamed "htmlcomment" to "html_comment" 2020-09-04 11:55:17 +02:00
Erik Krogh Kristensen
db0747876e renamed "booleanliteraltype" to "boolean_literal_type" 2020-09-04 11:55:16 +02:00
Erik Krogh Kristensen
5ea08b9c0c renamed "bigintliteraltype" to "bigint_literal_type" 2020-09-04 11:55:16 +02:00
Erik Krogh Kristensen
a35e0f9306 renamed "biginttype" to "bigint_type" 2020-09-04 11:55:15 +02:00
Erik Krogh Kristensen
0c0abefe5a renamed "unknowntype" to "unknown_type" 2020-09-04 11:55:14 +02:00
Erik Krogh Kristensen
2481775af5 renamed "stringliteraltype" to "string_literal_type" 2020-09-04 11:55:13 +02:00
Erik Krogh Kristensen
bd3ab9d599 renamed "numberliteraltype" to "number_literal_type" 2020-09-04 11:55:12 +02:00
Erik Krogh Kristensen
6f277a7435 renamed "thistype" to "this_type" 2020-09-04 11:55:11 +02:00
Erik Krogh Kristensen
27540e77b1 renamed "lexicaltypevariabletype" to "lexical_type_variable_type" 2020-09-04 11:55:10 +02:00
Erik Krogh Kristensen
9bab197a80 renamed "tupletype" to "tuple_type" 2020-09-04 11:55:09 +02:00
Erik Krogh Kristensen
38d033644c renamed "intersectiontype" to "intersection_type" 2020-09-04 11:55:08 +02:00
Erik Krogh Kristensen
2b3e8869c6 renamed "objectkeywordtype" to "objectkeyword_type" 2020-09-04 11:55:07 +02:00
Erik Krogh Kristensen
174afbc0df renamed "uniquesymboltype" to "unique_symbol_type" 2020-09-04 11:55:06 +02:00
Erik Krogh Kristensen
a1daf0a428 renamed "plainsymboltype" to "plain_symbol_type" 2020-09-04 11:55:06 +02:00
Erik Krogh Kristensen
b1812b1be2 renamed "nevertype" to "never_type" 2020-09-04 11:55:05 +02:00
Erik Krogh Kristensen
8b2769953f renamed "nulltype" to "null_type" 2020-09-04 11:55:04 +02:00
Erik Krogh Kristensen
1891a3fb49 renamed "undefinedtype" to "undefined_type" 2020-09-04 11:55:03 +02:00
Erik Krogh Kristensen
d95fc64f87 renamed "voidtype" to "void_type" 2020-09-04 11:55:02 +02:00