Home
last modified time | relevance | path

Searched refs:declaration (Results 1 – 25 of 1763) sorted by relevance

12345678910>>...71

/third_party/typescript/src/services/codefixes/
DgenerateAccessors.ts13 readonly declaration: AcceptedDeclaration; property
25 …tic, isReadonly, fieldName, accessorName, originalName, type, container, declaration } = fieldInfo; constant
29 suppressLeadingAndTrailingTrivia(declaration);
35 const modifierFlags = getEffectiveModifierFlags(declaration);
47 updateFieldDeclaration(changeTracker, file, declaration, type, fieldName, fieldModifiers);
51 insertAccessor(changeTracker, file, getAccessor, declaration, container);
63 insertAccessor(changeTracker, file, setAccessor, declaration, container);
111 const declaration = findAncestor(node.parent, isAcceptedDeclaration); constant
115 …if (!declaration || (!(nodeOverlapsWithStartEnd(declaration.name, file, start, end) || cursorReque…
121 if (!isConvertibleName(declaration.name)) {
[all …]
DreturnValueCorrect.ts20 declaration: FunctionLikeDeclaration; property
28 declaration: ArrowFunction; property
47 …isArrowFunction(info.declaration) ? getActionForFixRemoveBracesFromArrowFunctionBody(context, info…
50 … return [getActionForfixWrapTheBlockWithParen(context, info.declaration, info.expression)];
62 if (!isArrowFunction(info.declaration)) return undefined;
63 …removeBlockBodyBrace(changes, diag.file, info.declaration, info.expression, info.commentSource, /*…
66 if (!isArrowFunction(info.declaration)) return undefined;
67 wrapBlockWithParen(changes, diag.file, info.declaration, info.expression);
82 …function getFixInfo(checker: TypeChecker, declaration: FunctionLikeDeclaration, expectType: Type, …
83 …if (!declaration.body || !isBlock(declaration.body) || length(declaration.body.statements) !== 1) …
[all …]
/third_party/weex-loader/deps/weex-styler/
Dindex.js94 let declaration = rule.declarations[i]
95 if (declaration.property === 'flex') {
96 let values = declaration.value.split(/\s+/)
99 checkFlexOne(rule, ruleLog, declaration, values, i)
101 checkFlexTwo(rule, ruleLog, declaration, values, i)
103 checkFlexThree(rule, ruleLog, declaration, values, i)
106 line: declaration.position.start.line,
107 column: declaration.position.start.column,
108 reason: 'ERROR: Value `' + declaration.value + '` of the `' +
109 declaration.property + '` attribute is incorrect.'
[all …]
/third_party/typescript/src/services/
DnavigateTo.ts8 readonly declaration: Declaration; property
41 for (const declaration of declarations) { constant
42 if (!shouldKeepItem(declaration, checker)) continue;
46 const fullMatch = patternMatcher.getFullMatch(getContainers(declaration), name);
48 …e, fileName, matchKind: fullMatch.kind, isCaseSensitive: fullMatch.isCaseSensitive, declaration });
52 …sh({ name, fileName, matchKind: match.kind, isCaseSensitive: match.isCaseSensitive, declaration });
57 function shouldKeepItem(declaration: Declaration, checker: TypeChecker): boolean {
58 switch (declaration.kind) {
62 …const importer = checker.getSymbolAtLocation((declaration as ImportClause | ImportSpecifier | Impo…
70 …function tryAddSingleDeclarationName(declaration: Declaration, containers: Push<string>): boolean {
[all …]
/third_party/typescript/tests/baselines/reference/
DduplicateSymbolsExportMatching.errors.txt1 …ortMatching.ts(24,15): error TS2395: Individual declarations in merged declaration 'I' must be all…
2 …ortMatching.ts(25,22): error TS2395: Individual declarations in merged declaration 'I' must be all…
3 …ortMatching.ts(26,22): error TS2395: Individual declarations in merged declaration 'E' must be all…
4 …ortMatching.ts(27,15): error TS2395: Individual declarations in merged declaration 'E' must be all…
5 …ortMatching.ts(32,12): error TS2395: Individual declarations in merged declaration 'inst' must be …
6 …ortMatching.ts(35,19): error TS2395: Individual declarations in merged declaration 'inst' must be …
7 …portMatching.ts(42,9): error TS2395: Individual declarations in merged declaration 'v' must be all…
8 …ortMatching.ts(43,16): error TS2395: Individual declarations in merged declaration 'v' must be all…
9 …portMatching.ts(44,9): error TS2395: Individual declarations in merged declaration 'w' must be all…
10 …ortMatching.ts(45,16): error TS2395: Individual declarations in merged declaration 'w' must be all…
[all …]
DdefaultExportsCannotMerge04.errors.txt1 …TS2652: Merged declaration 'Foo' cannot include a default export declaration. Consider adding a se…
2 …TS2652: Merged declaration 'Foo' cannot include a default export declaration. Consider adding a se…
3 …annotMerge04.ts(8,11): error TS2395: Individual declarations in merged declaration 'Foo' must be a…
4 …nnotMerge04.ts(11,18): error TS2395: Individual declarations in merged declaration 'Foo' must be a…
10 …TS2652: Merged declaration 'Foo' cannot include a default export declaration. Consider adding a se…
15 …TS2652: Merged declaration 'Foo' cannot include a default export declaration. Consider adding a se…
21 !!! error TS2395: Individual declarations in merged declaration 'Foo' must be all exported or all l…
26 !!! error TS2395: Individual declarations in merged declaration 'Foo' must be all exported or all l…
DmoduleElementsInWrongContext3.errors.txt1 tests/cases/compiler/moduleElementsInWrongContext3.ts(3,9): error TS1235: A namespace declaration i…
2 tests/cases/compiler/moduleElementsInWrongContext3.ts(4,9): error TS1235: A namespace declaration i…
3 tests/cases/compiler/moduleElementsInWrongContext3.ts(8,9): error TS1235: A namespace declaration i…
4 …oduleElementsInWrongContext3.ts(10,9): error TS1234: An ambient module declaration is only allowed…
6 tests/cases/compiler/moduleElementsInWrongContext3.ts(18,9): error TS1233: An export declaration ca…
7 tests/cases/compiler/moduleElementsInWrongContext3.ts(19,9): error TS1233: An export declaration ca…
8 tests/cases/compiler/moduleElementsInWrongContext3.ts(20,9): error TS1233: An export declaration ca…
12 tests/cases/compiler/moduleElementsInWrongContext3.ts(24,9): error TS1232: An import declaration ca…
13 tests/cases/compiler/moduleElementsInWrongContext3.ts(25,9): error TS1232: An import declaration ca…
14 tests/cases/compiler/moduleElementsInWrongContext3.ts(26,9): error TS1232: An import declaration ca…
[all …]
DmoduleElementsInWrongContext2.errors.txt1 tests/cases/compiler/moduleElementsInWrongContext2.ts(2,5): error TS1235: A namespace declaration i…
2 tests/cases/compiler/moduleElementsInWrongContext2.ts(3,5): error TS1235: A namespace declaration i…
3 tests/cases/compiler/moduleElementsInWrongContext2.ts(7,5): error TS1235: A namespace declaration i…
4 …moduleElementsInWrongContext2.ts(9,5): error TS1234: An ambient module declaration is only allowed…
6 tests/cases/compiler/moduleElementsInWrongContext2.ts(17,5): error TS1233: An export declaration ca…
7 tests/cases/compiler/moduleElementsInWrongContext2.ts(18,5): error TS1233: An export declaration ca…
8 tests/cases/compiler/moduleElementsInWrongContext2.ts(19,5): error TS1233: An export declaration ca…
12 tests/cases/compiler/moduleElementsInWrongContext2.ts(23,5): error TS1232: An import declaration ca…
13 tests/cases/compiler/moduleElementsInWrongContext2.ts(24,5): error TS1232: An import declaration ca…
14 tests/cases/compiler/moduleElementsInWrongContext2.ts(25,5): error TS1232: An import declaration ca…
[all …]
DmoduleElementsInWrongContext.errors.txt1 tests/cases/compiler/moduleElementsInWrongContext.ts(2,5): error TS1235: A namespace declaration is…
2 tests/cases/compiler/moduleElementsInWrongContext.ts(3,5): error TS1235: A namespace declaration is…
3 tests/cases/compiler/moduleElementsInWrongContext.ts(7,5): error TS1235: A namespace declaration is…
4 …/moduleElementsInWrongContext.ts(9,5): error TS1234: An ambient module declaration is only allowed…
6 tests/cases/compiler/moduleElementsInWrongContext.ts(17,5): error TS1233: An export declaration can…
7 tests/cases/compiler/moduleElementsInWrongContext.ts(18,5): error TS1233: An export declaration can…
8 tests/cases/compiler/moduleElementsInWrongContext.ts(19,5): error TS1233: An export declaration can…
12 tests/cases/compiler/moduleElementsInWrongContext.ts(23,5): error TS1232: An import declaration can…
13 tests/cases/compiler/moduleElementsInWrongContext.ts(24,5): error TS1232: An import declaration can…
14 tests/cases/compiler/moduleElementsInWrongContext.ts(25,5): error TS1232: An import declaration can…
[all …]
DinvalidNewTarget.es6.errors.txt1 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
2 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
3 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
4 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
5 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
6 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
7 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
8 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
9 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
10 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
[all …]
DinvalidNewTarget.es5.errors.txt1 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
2 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
3 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
4 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
5 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
6 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
7 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
8 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
9 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
10 …: Meta-property 'new.target' is only allowed in the body of a function declaration, function expre…
[all …]
DuseBeforeDefinitionInDeclarationFiles.symbols1 === tests/cases/compiler/declaration.d.ts ===
3 >ClassWithSymbols : Symbol(ClassWithSymbols, Decl(declaration.d.ts, 0, 0))
6 …l] : Symbol(ClassWithSymbols[Namespace.locallyExportedCustomSymbol], Decl(declaration.d.ts, 0, 39))
7 …ExportedCustomSymbol : Symbol(Namespace.locallyExportedCustomSymbol, Decl(declaration.d.ts, 5, 14))
8 >Namespace : Symbol(Namespace, Decl(declaration.d.ts, 3, 1))
9 >locallyExportedCustomSymbol : Symbol(Namespace.locallyExportedCustomSymbol, Decl(declaration.d.ts,…
12 …bol] : Symbol(ClassWithSymbols[Namespace.fullyExportedCustomSymbol], Decl(declaration.d.ts, 1, 66))
13 >Namespace.fullyExportedCustomSymbol : Symbol(Namespace.fullyExportedCustomSymbol, Decl(declaration
14 >Namespace : Symbol(Namespace, Decl(declaration.d.ts, 3, 1))
15 >fullyExportedCustomSymbol : Symbol(Namespace.fullyExportedCustomSymbol, Decl(declaration.d.ts, 6, …
[all …]
DoverloadConsecutiveness.errors.txt1 …10): error TS2391: Function implementation is missing or not immediately following the declaration.
3 …25): error TS2391: Function implementation is missing or not immediately following the declaration.
4 …10): error TS2391: Function implementation is missing or not immediately following the declaration.
6 …10): error TS2391: Function implementation is missing or not immediately following the declaration.
8 …28): error TS2391: Function implementation is missing or not immediately following the declaration.
9 …,2): error TS2391: Function implementation is missing or not immediately following the declaration.
11 …,8): error TS2391: Function implementation is missing or not immediately following the declaration.
12 …,2): error TS2391: Function implementation is missing or not immediately following the declaration.
14 …,2): error TS2391: Function implementation is missing or not immediately following the declaration.
16 …11): error TS2391: Function implementation is missing or not immediately following the declaration.
[all …]
DrecursiveLetConst.errors.txt1 …ler/recursiveLetConst.ts(2,9): error TS2448: Block-scoped variable 'x' used before its declaration.
2 …r/recursiveLetConst.ts(3,12): error TS2448: Block-scoped variable 'x1' used before its declaration.
3 …er/recursiveLetConst.ts(4,11): error TS2448: Block-scoped variable 'y' used before its declaration.
4 …r/recursiveLetConst.ts(5,14): error TS2448: Block-scoped variable 'y1' used before its declaration.
5 …er/recursiveLetConst.ts(6,14): error TS2448: Block-scoped variable 'v' used before its declaration.
6 …er/recursiveLetConst.ts(7,16): error TS2448: Block-scoped variable 'v' used before its declaration.
7 …er/recursiveLetConst.ts(8,15): error TS2448: Block-scoped variable 'v' used before its declaration.
8 …er/recursiveLetConst.ts(9,15): error TS2448: Block-scoped variable 'v' used before its declaration.
9 …r/recursiveLetConst.ts(10,17): error TS2448: Block-scoped variable 'v' used before its declaration.
10 …/recursiveLetConst.ts(11,11): error TS2448: Block-scoped variable 'x2' used before its declaration.
[all …]
Des6ImportNamedImportWithExport.errors.txt1 tests/cases/compiler/client.ts(1,1): error TS1191: An import declaration cannot have modifiers.
2 tests/cases/compiler/client.ts(2,1): error TS1191: An import declaration cannot have modifiers.
4 tests/cases/compiler/client.ts(4,1): error TS1191: An import declaration cannot have modifiers.
6 tests/cases/compiler/client.ts(6,1): error TS1191: An import declaration cannot have modifiers.
9 tests/cases/compiler/client.ts(9,1): error TS1191: An import declaration cannot have modifiers.
11 tests/cases/compiler/client.ts(11,1): error TS1191: An import declaration cannot have modifiers.
13 tests/cases/compiler/client.ts(13,1): error TS1191: An import declaration cannot have modifiers.
16 tests/cases/compiler/client.ts(16,1): error TS1191: An import declaration cannot have modifiers.
19 tests/cases/compiler/client.ts(19,1): error TS1191: An import declaration cannot have modifiers.
20 tests/cases/compiler/client.ts(21,1): error TS1191: An import declaration cannot have modifiers.
[all …]
DemptyVariableDeclarationBindingPatterns02_ES5iterable.errors.txt1 …onBindingPatterns02_ES5iterable.ts(2,9): error TS1182: A destructuring declaration must have an in…
2 …onBindingPatterns02_ES5iterable.ts(3,9): error TS1182: A destructuring declaration must have an in…
3 …nBindingPatterns02_ES5iterable.ts(4,11): error TS1182: A destructuring declaration must have an in…
4 …onBindingPatterns02_ES5iterable.ts(6,9): error TS1182: A destructuring declaration must have an in…
5 …onBindingPatterns02_ES5iterable.ts(7,9): error TS1182: A destructuring declaration must have an in…
6 …nBindingPatterns02_ES5iterable.ts(8,11): error TS1182: A destructuring declaration must have an in…
13 !!! error TS1182: A destructuring declaration must have an initializer.
16 !!! error TS1182: A destructuring declaration must have an initializer.
19 !!! error TS1182: A destructuring declaration must have an initializer.
23 !!! error TS1182: A destructuring declaration must have an initializer.
[all …]
DemptyVariableDeclarationBindingPatterns02_ES6.errors.txt1 …eclarationBindingPatterns02_ES6.ts(2,9): error TS1182: A destructuring declaration must have an in…
2 …eclarationBindingPatterns02_ES6.ts(3,9): error TS1182: A destructuring declaration must have an in…
3 …clarationBindingPatterns02_ES6.ts(4,11): error TS1182: A destructuring declaration must have an in…
4 …eclarationBindingPatterns02_ES6.ts(6,9): error TS1182: A destructuring declaration must have an in…
5 …eclarationBindingPatterns02_ES6.ts(7,9): error TS1182: A destructuring declaration must have an in…
6 …clarationBindingPatterns02_ES6.ts(8,11): error TS1182: A destructuring declaration must have an in…
13 !!! error TS1182: A destructuring declaration must have an initializer.
16 !!! error TS1182: A destructuring declaration must have an initializer.
19 !!! error TS1182: A destructuring declaration must have an initializer.
23 !!! error TS1182: A destructuring declaration must have an initializer.
[all …]
DemptyVariableDeclarationBindingPatterns02_ES5.errors.txt1 …eclarationBindingPatterns02_ES5.ts(2,9): error TS1182: A destructuring declaration must have an in…
2 …eclarationBindingPatterns02_ES5.ts(3,9): error TS1182: A destructuring declaration must have an in…
3 …clarationBindingPatterns02_ES5.ts(4,11): error TS1182: A destructuring declaration must have an in…
4 …eclarationBindingPatterns02_ES5.ts(6,9): error TS1182: A destructuring declaration must have an in…
5 …eclarationBindingPatterns02_ES5.ts(7,9): error TS1182: A destructuring declaration must have an in…
6 …clarationBindingPatterns02_ES5.ts(8,11): error TS1182: A destructuring declaration must have an in…
13 !!! error TS1182: A destructuring declaration must have an initializer.
16 !!! error TS1182: A destructuring declaration must have an initializer.
19 !!! error TS1182: A destructuring declaration must have an initializer.
23 !!! error TS1182: A destructuring declaration must have an initializer.
[all …]
DdefaultExportsCannotMerge03.errors.txt1 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
2 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
9 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
14 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
DdefaultExportsCannotMerge01.errors.txt1 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
2 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
9 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
20 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
DdefaultExportsCannotMerge02.errors.txt1 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
2 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
9 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
14 …S2652: Merged declaration 'Decl' cannot include a default export declaration. Consider adding a se…
DexportedBlockScopedDeclarations.errors.txt1 …ScopedDeclarations.ts(1,13): error TS2448: Block-scoped variable 'foo' used before its declaration.
2 …ScopedDeclarations.ts(2,20): error TS2448: Block-scoped variable 'bar' used before its declaration.
3 …ScopedDeclarations.ts(4,15): error TS2448: Block-scoped variable 'bar' used before its declaration.
4 …ScopedDeclarations.ts(7,22): error TS2448: Block-scoped variable 'bar' used before its declaration.
5 …opedDeclarations.ts(10,12): error TS2448: Block-scoped variable 'foo1' used before its declaration.
6 …opedDeclarations.ts(11,19): error TS2448: Block-scoped variable 'bar1' used before its declaration.
7 …opedDeclarations.ts(13,14): error TS2448: Block-scoped variable 'bar1' used before its declaration.
8 …opedDeclarations.ts(16,21): error TS2448: Block-scoped variable 'bar1' used before its declaration.
14 !!! error TS2448: Block-scoped variable 'foo' used before its declaration.
18 !!! error TS2448: Block-scoped variable 'bar' used before its declaration.
[all …]
DjsFileCompilationBindMultipleDefaultExports.errors.txt2 …r TS2652: Merged declaration 'a' cannot include a default export declaration. Consider adding a se…
5 …r TS2652: Merged declaration 'a' cannot include a default export declaration. Consider adding a se…
14 …r TS2652: Merged declaration 'a' cannot include a default export declaration. Consider adding a se…
23 …r TS2652: Merged declaration 'a' cannot include a default export declaration. Consider adding a se…
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c88 struct tgsi_declaration *declaration, in declaration_grow() argument
91 assert( declaration->NrTokens < 0xFF ); in declaration_grow()
93 declaration->NrTokens++; in declaration_grow()
101 struct tgsi_declaration declaration; in tgsi_default_declaration() local
103 declaration.Type = TGSI_TOKEN_TYPE_DECLARATION; in tgsi_default_declaration()
104 declaration.NrTokens = 1; in tgsi_default_declaration()
105 declaration.File = TGSI_FILE_NULL; in tgsi_default_declaration()
106 declaration.UsageMask = TGSI_WRITEMASK_XYZW; in tgsi_default_declaration()
107 declaration.Interpolate = 0; in tgsi_default_declaration()
108 declaration.Dimension = 0; in tgsi_default_declaration()
[all …]
/third_party/weex-loader/deps/weex-styler/lib/
Dshorthand-parser.js9 function transition (declaration) { argument
11 var match = declaration.value.match(CHUNK_REGEXP)
13 var position = declaration.position
21 function margin (declaration) { argument
22 var position = declaration.position
23 var splitResult = declaration.value.split(/\s+/)
51 return declarations.reduce((result, declaration) => {
52 var parser = parserCollection[declaration.property]
54 return result.concat(parser(declaration))
56 result.push(declaration)

12345678910>>...71