Home
last modified time | relevance | path

Searched refs:AST (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/third_party/typescript/tests/baselines/reference/
DparserRealSource13.types12 EmptyCallback? (pre, ast: AST): boolean;
13 >EmptyCallback : (pre: any, ast: AST) => boolean
15 >ast : AST
17 EmptyExprCallback? (pre, ast: AST): boolean;
18 >EmptyExprCallback : (pre: any, ast: AST) => boolean
20 >ast : AST
22 TrueCallback? (pre, ast: AST): boolean;
23 >TrueCallback : (pre: any, ast: AST) => boolean
25 >ast : AST
27 FalseCallback? (pre, ast: AST): boolean;
[all …]
DparserRealSource13.js9 EmptyCallback? (pre, ast: AST): boolean;
10 EmptyExprCallback? (pre, ast: AST): boolean;
11 TrueCallback? (pre, ast: AST): boolean;
12 FalseCallback? (pre, ast: AST): boolean;
13 ThisCallback? (pre, ast: AST): boolean;
14 SuperCallback? (pre, ast: AST): boolean;
15 QStringCallback? (pre, ast: AST): boolean;
16 RegexCallback? (pre, ast: AST): boolean;
17 NullCallback? (pre, ast: AST): boolean;
18 ArrayLitCallback? (pre, ast: AST): boolean;
[all …]
DparserRealSource13.errors.txt2 …s/conformance/parser/ecmascript5/parserRealSource13.ts(8,35): error TS2304: Cannot find name 'AST'.
3 …s/conformance/parser/ecmascript5/parserRealSource13.ts(9,39): error TS2304: Cannot find name 'AST'.
4 …/conformance/parser/ecmascript5/parserRealSource13.ts(10,34): error TS2304: Cannot find name 'AST'.
5 …/conformance/parser/ecmascript5/parserRealSource13.ts(11,35): error TS2304: Cannot find name 'AST'.
6 …/conformance/parser/ecmascript5/parserRealSource13.ts(12,34): error TS2304: Cannot find name 'AST'.
7 …/conformance/parser/ecmascript5/parserRealSource13.ts(13,35): error TS2304: Cannot find name 'AST'.
8 …/conformance/parser/ecmascript5/parserRealSource13.ts(14,37): error TS2304: Cannot find name 'AST'.
9 …/conformance/parser/ecmascript5/parserRealSource13.ts(15,35): error TS2304: Cannot find name 'AST'.
10 …/conformance/parser/ecmascript5/parserRealSource13.ts(16,34): error TS2304: Cannot find name 'AST'.
11 …/conformance/parser/ecmascript5/parserRealSource13.ts(17,38): error TS2304: Cannot find name 'AST'.
[all …]
DparserRealSource13.symbols14 EmptyCallback? (pre, ast: AST): boolean;
18 >AST : Symbol(AST)
20 EmptyExprCallback? (pre, ast: AST): boolean;
24 >AST : Symbol(AST)
26 TrueCallback? (pre, ast: AST): boolean;
30 >AST : Symbol(AST)
32 FalseCallback? (pre, ast: AST): boolean;
36 >AST : Symbol(AST)
38 ThisCallback? (pre, ast: AST): boolean;
42 >AST : Symbol(AST)
[all …]
DparserRealSource12.types11 walk(ast: AST, parent: AST): AST;
12 >walk : (ast: AST, parent: AST) => AST
13 >ast : AST
14 >parent : AST
62 (ast: AST, parent: AST, walker: IAstWalker): AST;
63 >ast : AST
64 >parent : AST
69 (preAst: AST, parent: AST, walker: IAstWalker): void;
70 >preAst : AST
71 >parent : AST
[all …]
DparserRealSource14.types71 public asts: TypeScript.AST[] = [];
72 >asts : TypeScript.AST[]
119 >clone.asts = this.asts.map((value) => { return value; }) : TypeScript.AST[]
120 >clone.asts : TypeScript.AST[]
122 >asts : TypeScript.AST[]
123 >this.asts.map((value) => { return value; }) : TypeScript.AST[]
124 >this.asts.map : <U>(callbackfn: (value: TypeScript.AST, index: number, array: TypeScript.AST[]) =>…
125 >this.asts : TypeScript.AST[]
127 >asts : TypeScript.AST[]
128 >map : <U>(callbackfn: (value: TypeScript.AST, index: number, array: TypeScript.AST[]) => U, thisAr…
[all …]
DparserRealSource6.types30 public ast: AST = null;
31 >ast : AST
60 public scopeStartAST: AST = null;
61 >scopeStartAST : AST
128 >getScopeAST : () => AST
131 >this.scopeStartAST : AST
133 >scopeStartAST : AST
141 >this.scopeStartAST : AST
143 >scopeStartAST : AST
147 public getScriptFragmentStartAST(): AST {
[all …]
DparserRealSource11.types24 export class AST extends ASTSpan {
25 >AST : AST
642 // by default, AST adds itself to current basic block and does not check its children
799 export class IncompleteAST extends AST {
801 >AST : AST
809 >super : typeof AST
830 export class ASTList extends AST {
832 >AST : AST
838 public members: AST[] = new AST[];
839 >members : AST[]
[all …]
DparserRealSource12.errors.txt2 …s/conformance/parser/ecmascript5/parserRealSource12.ts(8,19): error TS2304: Cannot find name 'AST'.
3 …s/conformance/parser/ecmascript5/parserRealSource12.ts(8,32): error TS2304: Cannot find name 'AST'.
4 …s/conformance/parser/ecmascript5/parserRealSource12.ts(8,38): error TS2304: Cannot find name 'AST'.
5 …/conformance/parser/ecmascript5/parserRealSource12.ts(25,15): error TS2304: Cannot find name 'AST'.
6 …/conformance/parser/ecmascript5/parserRealSource12.ts(25,28): error TS2304: Cannot find name 'AST'.
7 …/conformance/parser/ecmascript5/parserRealSource12.ts(25,54): error TS2304: Cannot find name 'AST'.
8 …/conformance/parser/ecmascript5/parserRealSource12.ts(29,18): error TS2304: Cannot find name 'AST'.
9 …/conformance/parser/ecmascript5/parserRealSource12.ts(29,31): error TS2304: Cannot find name 'AST'.
10 …/conformance/parser/ecmascript5/parserRealSource12.ts(41,26): error TS2304: Cannot find name 'AST'.
11 …/conformance/parser/ecmascript5/parserRealSource12.ts(41,39): error TS2304: Cannot find name 'AST'.
[all …]
DparserRealSource5.types177 export function prePrintAST(ast: AST, parent: AST, walker: IAstWalker) {
178 >prePrintAST : (ast: AST, parent: AST, walker: IAstWalker) => AST
179 >ast : AST
180 >parent : AST
193 >ast : AST
204 >ast : AST
208 export function postPrintAST(ast: AST, parent: AST, walker: IAstWalker) {
209 >postPrintAST : (ast: AST, parent: AST, walker: IAstWalker) => AST
210 >ast : AST
211 >parent : AST
[all …]
DparserRealSource5.errors.txt4 …s/conformance/parser/ecmascript5/parserRealSource5.ts(52,38): error TS2304: Cannot find name 'AST'.
5 …s/conformance/parser/ecmascript5/parserRealSource5.ts(52,51): error TS2304: Cannot find name 'AST'.
7 …s/conformance/parser/ecmascript5/parserRealSource5.ts(61,39): error TS2304: Cannot find name 'AST'.
8 …s/conformance/parser/ecmascript5/parserRealSource5.ts(61,52): error TS2304: Cannot find name 'AST'.
70 export function prePrintAST(ast: AST, parent: AST, walker: IAstWalker) {
72 !!! error TS2304: Cannot find name 'AST'.
74 !!! error TS2304: Cannot find name 'AST'.
85 export function postPrintAST(ast: AST, parent: AST, walker: IAstWalker) {
87 !!! error TS2304: Cannot find name 'AST'.
89 !!! error TS2304: Cannot find name 'AST'.
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource13.ts8 EmptyCallback? (pre, ast: AST): boolean;
9 EmptyExprCallback? (pre, ast: AST): boolean;
10 TrueCallback? (pre, ast: AST): boolean;
11 FalseCallback? (pre, ast: AST): boolean;
12 ThisCallback? (pre, ast: AST): boolean;
13 SuperCallback? (pre, ast: AST): boolean;
14 QStringCallback? (pre, ast: AST): boolean;
15 RegexCallback? (pre, ast: AST): boolean;
16 NullCallback? (pre, ast: AST): boolean;
17 ArrayLitCallback? (pre, ast: AST): boolean;
[all …]
DparserRealSource12.ts8 walk(ast: AST, parent: AST): AST;
25 (ast: AST, parent: AST, walker: IAstWalker): AST;
29 (preAst: AST, parent: AST, walker: IAstWalker): void;
41 public walk(ast: AST, parent: AST): AST {
77 …public walk(ast: AST, pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, st…
221 export function walkNone(preAst: ASTList, parent: AST, walker: IAstWalker): void {
225 export function walkListChildren(preAst: ASTList, parent: AST, walker: IAstWalker): void {
243 …export function walkUnaryExpressionChildren(preAst: UnaryExpression, parent: AST, walker: IAstWalk…
252 …export function walkBinaryExpressionChildren(preAst: BinaryExpression, parent: AST, walker: IAstWa…
270 …export function walkTypeReferenceChildren(preAst: TypeReference, parent: AST, walker: IAstWalker):…
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DZ3Solver.cpp146 Z3_ast AST; member in __anon6698c3bb0111::Z3Expr
149 Z3Expr(Z3Context &C, Z3_ast ZA) : SMTExpr(), Context(C), AST(ZA) { in Z3Expr()
150 Z3_inc_ref(Context.Context, AST); in Z3Expr()
154 Z3Expr(const Z3Expr &Copy) : SMTExpr(), Context(Copy.Context), AST(Copy.AST) { in Z3Expr()
155 Z3_inc_ref(Context.Context, AST); in Z3Expr()
161 Z3_inc_ref(Context.Context, Other.AST); in operator =()
162 Z3_dec_ref(Context.Context, AST); in operator =()
163 AST = Other.AST; in operator =()
171 if (AST) in ~Z3Expr()
172 Z3_dec_ref(Context.Context, AST); in ~Z3Expr()
[all …]
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/parser/
Dparser_test.go27 expect ast.AST
31 {"enum E {}", ast.AST{
34 {"enum E { A [[deco]] B C }", ast.AST{
47 {"type T", ast.AST{
50 {"type T<A, B, C>", ast.AST{
60 {"[[deco]] type T", ast.AST{
68 {`[[deco("a", "b")]] type T`, ast.AST{
76 {"match M : A", ast.AST{
84 {"match M : A | B", ast.AST{
93 {"fn F()", ast.AST{
[all …]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_global_decl_test.cc34 ASSERT_EQ(program.AST().GlobalVariables().size(), 1u); in TEST_F()
36 auto* v = program.AST().GlobalVariables()[0]; in TEST_F()
60 ASSERT_EQ(program.AST().GlobalVariables().size(), 1u); in TEST_F()
62 auto* v = program.AST().GlobalVariables()[0]; in TEST_F()
86 ASSERT_EQ(program.AST().TypeDecls().size(), 1u); in TEST_F()
87 ASSERT_TRUE(program.AST().TypeDecls()[0]->Is<ast::Alias>()); in TEST_F()
89 program.AST().TypeDecls()[0]->As<ast::Alias>()->name), in TEST_F()
103 ASSERT_EQ(program.AST().TypeDecls().size(), 2u); in TEST_F()
104 ASSERT_TRUE(program.AST().TypeDecls()[0]->Is<ast::Struct>()); in TEST_F()
105 auto* str = program.AST().TypeDecls()[0]->As<ast::Struct>(); in TEST_F()
[all …]
/third_party/glslang/Test/
Ddce.frag10 ++c; // should still show up in AST
14 flag ? ++c : ++c; // both should still show up in AST
20 ++c; // should still show up in AST
23 ++c; // should still show up in AST
29 ++c; // should still show up in AST
34 ++c; // should still show up in AST
37 ++c; // should still show up in AST
43 ++c; // should still show up in AST
46 int foo() // not called, but should still show up in AST
50 ++c; // should still show up in AST
[all …]
/third_party/skia/third_party/externals/tint/src/ast/
Dmodule.cc46 TINT_ICE(AST, diagnostics) << "Unknown global declaration type"; in Module()
63 TINT_ASSERT(AST, var); in AddGlobalVariable()
64 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, var, program_id); in AddGlobalVariable()
70 TINT_ASSERT(AST, type); in AddTypeDecl()
71 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, type, program_id); in AddTypeDecl()
77 TINT_ASSERT(AST, func); in AddFunction()
78 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, func, program_id); in AddFunction()
100 TINT_ICE(AST, ctx->dst->Diagnostics()) in Copy()
105 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, type, program_id); in Copy()
108 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, func, program_id); in Copy()
[all …]
Dcall_expression.cc42 TINT_ASSERT(AST, name); in CallExpression()
43 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, name, program_id); in CallExpression()
45 TINT_ASSERT(AST, arg); in CallExpression()
46 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, arg, program_id); in CallExpression()
55 TINT_ASSERT(AST, type); in CallExpression()
56 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, type, program_id); in CallExpression()
58 TINT_ASSERT(AST, arg); in CallExpression()
59 TINT_ASSERT_PROGRAM_IDS_EQUAL_IF_VALID(AST, arg, program_id); in CallExpression()
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/mutations/
Dreplace_identifier_test.cc52 const auto& main_fn_stmts = program.AST().Functions()[0]->body->statements; in TEST()
136 auto use_id = node_id_map.GetId(program.AST() in TEST()
143 auto replacement_id = node_id_map.GetId(program.AST().GlobalVariables()[1]); in TEST()
166 auto replacement_id = node_id_map.GetId(program.AST().GlobalVariables()[1]); in TEST()
169 auto use_id = node_id_map.GetId(program.AST() in TEST()
198 auto replacement_id = node_id_map.GetId(program.AST() in TEST()
205 auto use_id = node_id_map.GetId(program.AST() in TEST()
234 auto replacement_id = node_id_map.GetId(program.AST() in TEST()
241 auto use_id = node_id_map.GetId(program.AST() in TEST()
270 node_id_map.GetId(program.AST().Functions()[0]->params[0]); in TEST()
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_test_helper.h193 static inline const ast::Type* AST(ProgramBuilder& b) { return b.ty.bool_(); }
215 static inline const ast::Type* AST(ProgramBuilder& b) { return b.ty.i32(); }
237 static inline const ast::Type* AST(ProgramBuilder& b) { return b.ty.u32(); }
259 static inline const ast::Type* AST(ProgramBuilder& b) { return b.ty.f32(); }
281 static inline const ast::Type* AST(ProgramBuilder& b) {
282 return b.ty.vec(DataType<T>::AST(b), N);
294 return b.Construct(AST(b), ExprArgs(b, elem_value));
318 static inline const ast::Type* AST(ProgramBuilder& b) {
319 return b.ty.mat(DataType<T>::AST(b), N, M);
332 return b.Construct(AST(b), ExprArgs(b, elem_value));
[all …]
/third_party/skia/third_party/externals/tint/src/
Dprogram_builder_test.cc41 ASSERT_EQ(inner.AST().Functions().size(), 1u); in TEST_F()
47 ASSERT_EQ(inner.AST().Functions().size(), 1u); in TEST_F()
48 ASSERT_EQ(outer.AST().Functions().size(), 1u); in TEST_F()
49 EXPECT_EQ(inner.AST().Functions()[0], outer.AST().Functions()[0]); in TEST_F()
60 ASSERT_EQ(inner.AST().Functions().size(), 1u); in TEST_F()
61 ASSERT_EQ(outer.AST().Functions().size(), 2u); in TEST_F()
62 EXPECT_EQ(inner.AST().Functions()[0], outer.AST().Functions()[0]); in TEST_F()
63 EXPECT_EQ(outer.AST().Functions()[1]->symbol, outer.Symbols().Get("b")); in TEST_F()
/third_party/node/deps/minimatch/src/dist/cjs/
Dast.d.ts3 export declare class AST { class
6 constructor(type: ExtglobType | null, parent?: AST, options?: MinimatchOptions);
9 push(...parts: (string | AST)[]): void;
13 copyIn(part: AST | string): void;
14 clone(parent: AST): AST;
15 static fromGlob(pattern: string, options?: MinimatchOptions): AST;
/third_party/node/deps/minimatch/src/dist/mjs/
Dast.d.ts3 export declare class AST { class
6 constructor(type: ExtglobType | null, parent?: AST, options?: MinimatchOptions);
9 push(...parts: (string | AST)[]): void;
13 copyIn(part: AST | string): void;
14 clone(parent: AST): AST;
15 static fromGlob(pattern: string, options?: MinimatchOptions): AST;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DAliasSetTracker.h116 AliasSet *getAliasSet(AliasSetTracker &AST) { in getAliasSet() argument
120 AS = OldAS->getForwardedTarget(AST); in getAliasSet()
122 OldAS->dropRef(AST); in getAliasSet()
192 void dropRef(AliasSetTracker &AST) { in dropRef() argument
195 removeFromTracker(AST); in dropRef()
218 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
284 AliasSet *getForwardedTarget(AliasSetTracker &AST) { in getForwardedTarget() argument
287 AliasSet *Dest = Forward->getForwardedTarget(AST); in getForwardedTarget()
290 Forward->dropRef(AST); in getForwardedTarget()
296 void removeFromTracker(AliasSetTracker &AST);
[all …]

12345678910>>...13