Home
last modified time | relevance | path

Searched refs:isStatic (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/skia/src/sksl/ir/
DSkSLIfStatement.cpp21 return std::make_unique<IfStatement>(fLine, this->isStatic(), this->test()->clone(), in clone()
28 if (this->isStatic()) { in description()
38 std::unique_ptr<Statement> IfStatement::Convert(const Context& context, int line, bool isStatic, in Convert() argument
53 return IfStatement::Make(context, line, isStatic, std::move(test), in Convert()
63 std::unique_ptr<Statement> IfStatement::Make(const Context& context, int line, bool isStatic, in Make() argument
84 if (isStatic || optimize) { in Make()
104 return std::make_unique<IfStatement>(line, isStatic, std::move(test), in Make()
DSkSLSwitchStatement.h29 SwitchStatement(int line, bool isStatic, std::unique_ptr<Expression> value, in SwitchStatement() argument
32 , fIsStatic(isStatic) in SwitchStatement()
42 bool isStatic,
52 bool isStatic,
82 bool isStatic() const { in isStatic() function
DSkSLIfStatement.h25 IfStatement(int line, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() argument
31 , fIsStatic(isStatic) {} in IfStatement()
35 static std::unique_ptr<Statement> Convert(const Context& context, int line, bool isStatic,
41 static std::unique_ptr<Statement> Make(const Context& context, int line, bool isStatic,
46 bool isStatic() const { in isStatic() function
DSkSLSwitchStatement.cpp31 this->isStatic(), in clone()
39 if (this->isStatic()) { in description()
169 bool isStatic, in Convert() argument
223 return SwitchStatement::Make(context, line, isStatic, std::move(value), std::move(cases), in Convert()
229 bool isStatic, in Make() argument
248 if (isStatic || context.fConfig->fSettings.fOptimize) { in Make()
286 if (isStatic && !context.fConfig->fSettings.fPermitInvalidStaticTests) { in Make()
295 return std::make_unique<SwitchStatement>(line, isStatic, std::move(value), std::move(cases), in Make()
/third_party/typescript/src/services/codefixes/
DgenerateAccessors.ts10 readonly isStatic: boolean; property
25 …const { isStatic, isReadonly, fieldName, accessorName, originalName, type, container, declaration … constant
52 …essor = generateGetAccessor(fieldName, accessorName, type, accessorModifiers, isStatic, container);
64 …essor = generateSetAccessor(fieldName, accessorName, type, accessorModifiers, isStatic, container);
84 …function createAccessorAccessExpression(fieldName: AcceptedNameType, isStatic: boolean, container:…
85 …const leftHead = isStatic ? (container as ClassLikeDeclaration).name! : factory.createThis(); // T…
137 isStatic: hasStaticModifier(declaration),
149 …: TypeNode | undefined, modifiers: readonly ModifierLike[] | undefined, isStatic: boolean, contain…
157 createAccessorAccessExpression(fieldName, isStatic, container)
163 …: TypeNode | undefined, modifiers: readonly ModifierLike[] | undefined, isStatic: boolean, contain…
[all …]
/third_party/skia/modules/skottie/tests/
DKeyframe.cpp66 REPORTER_ASSERT(reporter, !prop.isStatic()); in DEF_TEST()
87 REPORTER_ASSERT(reporter, !prop.isStatic()); in DEF_TEST()
109 REPORTER_ASSERT(reporter, !prop.isStatic()); in DEF_TEST()
130 REPORTER_ASSERT(reporter, !prop.isStatic()); in DEF_TEST()
152 REPORTER_ASSERT(reporter, prop.isStatic()); in DEF_TEST()
166 REPORTER_ASSERT(reporter, prop.isStatic()); in DEF_TEST()
/third_party/typescript/src/compiler/transformers/
DclassFields.ts33 isStatic: boolean; property
63 isStatic: false; property
72 isStatic: true; property
558 if (shouldTransformInitializersUsingSet && !isStatic(node)) {
587 if (isStatic(node) && !shouldTransformPrivateElementsOrClassStaticBlocks) {
1118 if (!isStatic(member)) continue;
1461 if (isStatic(member) || hasAbstractModifier(getOriginalNode(member))) {
1656 …if (isStatic(property) && !shouldTransformPrivateElementsOrClassStaticBlocks && !useDefineForClass…
1754 if (!privateIdentifierInfo.isStatic) {
2068 isStatic: boolean,
[all …]
DlegacyDecorators.ts415 …ssElementDecorationStatements(statements: Statement[], node: ClassDeclaration, isStatic: boolean) {
416 …addRange(statements, map(generateClassElementDecorationExpressions(node, isStatic), expr => factor…
427 && isStaticElement === isStatic(member);
438 …function getDecoratedClassElements(node: ClassExpression | ClassDeclaration, isStatic: boolean): r…
439 return filter(node.members, m => isDecoratedClassElement(m, isStatic, node));
450 …ateClassElementDecorationExpressions(node: ClassExpression | ClassDeclaration, isStatic: boolean) {
451 const members = getDecoratedClassElements(node, isStatic);
653 return isStatic(member)
Dutilities.ts336 …ssion | ClassDeclaration | StructDeclaration, requireInitializer: true, isStatic: boolean): readon…
337 …on | ClassDeclaration | StructDeclaration, requireInitializer: boolean, isStatic: boolean): readon…
338 …on | ClassDeclaration | StructDeclaration, requireInitializer: boolean, isStatic: boolean): readon…
339 …node.members, m => isInitializedOrStaticProperty(m, requireInitializer, isStatic)) as PropertyDecl…
358 …InitializedOrStaticProperty(member: ClassElement, requireInitializer: boolean, isStatic: boolean) {
361 && hasStaticModifier(member) === isStatic;
385 …return !isStatic(member) && (isMethodOrAccessor(member) || isAutoAccessorPropertyDeclaration(membe…
/third_party/typescript/src/compiler/transformers/declarations/
Ddiagnostics.ts78 if (isStatic(node)) {
109 if (isStatic(node)) {
176 if (isStatic(node)) {
213 if (isStatic(node)) {
225 if (isStatic(node)) {
273 if (isStatic(node)) {
352 if (isStatic(node.parent)) {
420 if (isStatic(node.parent)) {
/third_party/typescript/tests/baselines/reference/
DparserRealSource8.js186 var isStatic = hasFlag(funcDecl.fncFlags, FncFlags.Static);
187 var isInnerStatic = isStatic && context.scopeChain.fnc != null;
200 if (!funcDecl.isMethod() || isStatic) {
217 else if (isStatic && context.scopeChain.classType) {
242 if (isStatic) {
271 if (isStatic) {
290 …sorSymbol(funcDecl, fgSym, container.getType(), (funcDecl.isMethod() && isStatic), true, funcScope…
352 … group.enclosingType = isStatic ? context.scopeChain.classType : context.scopeChain.thisType;
627 var isStatic = hasFlag(funcDecl.fncFlags, FncFlags.Static);
628 var isInnerStatic = isStatic && context.scopeChain.fnc != null;
[all …]
DparserRealSource7.js506 var isStatic = hasFlag(varDecl.varFlags, VarFlags.Static); variable
551 … if (hasFlag(varDecl.varFlags, VarFlags.Property) && isStatic && context.scopeChain.classType) {
562 … !isPrivate && (isProperty || isExported || isGlobal || isStatic),
590 var isStatic = hasFlag(funcDecl.fncFlags, FncFlags.Static);
593 …var containerSym:TypeSymbol = <TypeSymbol> (((funcDecl.isMethod() && isStatic) || funcDecl.isAcces…
626 if (isStatic) {
684 if (funcDecl.isSpecialFn() && !isStatic) {
695 if (isStatic) {
738 …essorSymbol(funcDecl, fgSym, containerSym.type, (funcDecl.isMethod() && isStatic), true, container…
1235 var isStatic = hasFlag(varDecl.varFlags, VarFlags.Static);
[all …]
DparserRealSource8.symbols576 var isStatic = hasFlag(funcDecl.fncFlags, FncFlags.Static);
577 >isStatic : Symbol(isStatic, Decl(parserRealSource8.ts, 184, 11))
580 var isInnerStatic = isStatic && context.scopeChain.fnc != null;
582 >isStatic : Symbol(isStatic, Decl(parserRealSource8.ts, 184, 11))
621 if (!funcDecl.isMethod() || isStatic) {
623 >isStatic : Symbol(isStatic, Decl(parserRealSource8.ts, 184, 11))
663 else if (isStatic && context.scopeChain.classType) {
664 >isStatic : Symbol(isStatic, Decl(parserRealSource8.ts, 184, 11))
738 if (isStatic) {
739 >isStatic : Symbol(isStatic, Decl(parserRealSource8.ts, 184, 11))
[all …]
DparserRealSource8.types851 var isStatic = hasFlag(funcDecl.fncFlags, FncFlags.Static);
852 >isStatic : any
862 var isInnerStatic = isStatic && context.scopeChain.fnc != null;
864 >isStatic && context.scopeChain.fnc != null : boolean
865 >isStatic : any
951 if (!funcDecl.isMethod() || isStatic) {
952 >!funcDecl.isMethod() || isStatic : any
958 >isStatic : any
1049 else if (isStatic && context.scopeChain.classType) {
1050 >isStatic && context.scopeChain.classType : any
[all …]
DparserRealSource7.symbols1451 var isStatic = hasFlag(varDecl.varFlags, VarFlags.Static);
1452 >isStatic : Symbol(isStatic, Decl(parserRealSource7.ts, 504, 11))
1568 … if (hasFlag(varDecl.varFlags, VarFlags.Property) && isStatic && context.scopeChain.classType) {
1570 >isStatic : Symbol(isStatic, Decl(parserRealSource7.ts, 504, 11))
1601 … !isPrivate && (isProperty || isExported || isGlobal || isStatic),
1606 >isStatic : Symbol(isStatic, Decl(parserRealSource7.ts, 504, 11))
1673 var isStatic = hasFlag(funcDecl.fncFlags, FncFlags.Static);
1674 >isStatic : Symbol(isStatic, Decl(parserRealSource7.ts, 588, 11))
1686 …var containerSym:TypeSymbol = <TypeSymbol> (((funcDecl.isMethod() && isStatic) || funcDecl.isAcces…
1691 >isStatic : Symbol(isStatic, Decl(parserRealSource7.ts, 588, 11))
[all …]
DparserRealSource7.types2807 var isStatic = hasFlag(varDecl.varFlags, VarFlags.Static);
2808 >isStatic : any
3076 … if (hasFlag(varDecl.varFlags, VarFlags.Property) && isStatic && context.scopeChain.classType) {
3077 >hasFlag(varDecl.varFlags, VarFlags.Property) && isStatic && context.scopeChain.classType : any
3078 >hasFlag(varDecl.varFlags, VarFlags.Property) && isStatic : any
3087 >isStatic : any
3144 … !isPrivate && (isProperty || isExported || isGlobal || isStatic), …
3171 … !isPrivate && (isProperty || isExported || isGlobal || isStatic),
3172 >!isPrivate && (isProperty || isExported || isGlobal || isStatic) : any
3175 >(isProperty || isExported || isGlobal || isStatic) : any
[all …]
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource8.ts185 var isStatic = hasFlag(funcDecl.fncFlags, FncFlags.Static);
186 var isInnerStatic = isStatic && context.scopeChain.fnc != null;
199 if (!funcDecl.isMethod() || isStatic) {
216 else if (isStatic && context.scopeChain.classType) {
241 if (isStatic) {
270 if (isStatic) {
289 …sorSymbol(funcDecl, fgSym, container.getType(), (funcDecl.isMethod() && isStatic), true, funcScope…
351 … group.enclosingType = isStatic ? context.scopeChain.classType : context.scopeChain.thisType;
DparserRealSource7.ts505 var isStatic = hasFlag(varDecl.varFlags, VarFlags.Static);
550 … if (hasFlag(varDecl.varFlags, VarFlags.Property) && isStatic && context.scopeChain.classType) {
561 … !isPrivate && (isProperty || isExported || isGlobal || isStatic),
589 var isStatic = hasFlag(funcDecl.fncFlags, FncFlags.Static);
592 …var containerSym:TypeSymbol = <TypeSymbol> (((funcDecl.isMethod() && isStatic) || funcDecl.isAcces…
625 if (isStatic) {
683 if (funcDecl.isSpecialFn() && !isStatic) {
694 if (isStatic) {
737 …essorSymbol(funcDecl, fgSym, containerSym.type, (funcDecl.isMethod() && isStatic), true, container…
/third_party/jsframework/runtime/main/extend/systemplugin/napi/bundle/
DshortcutInfo.js32 isStatic: "[PC preview] unknown isStatic", property
/third_party/skia/modules/skottie/src/
DTransform.cpp129 if (adapter->isStatic()) { in attachMatrix2D()
197 if (adapter->isStatic()) { in attachMatrix3D()
DPath.cpp34 path.setIsVolatile(!this->isStatic()); in onSync()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/
DPDBSymbolFuncDebugStart.h30 FORWARD_SYMBOL_METHOD(isStatic)
DPDBSymbolFuncDebugEnd.h31 FORWARD_SYMBOL_METHOD(isStatic)
DPDBSymbolThunk.h31 FORWARD_SYMBOL_METHOD(isStatic)
/third_party/skia/src/sksl/
DSkSLRehydrator.cpp352 bool isStatic = this->readU8(); in statement() local
356 return IfStatement::Make(fContext, /*line=*/-1, isStatic, std::move(test), in statement()
369 bool isStatic = this->readU8(); in statement() local
381 return SwitchStatement::Make(fContext, /*line=*/-1, isStatic, std::move(expr), in statement()

1234