type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
TypeAliasDeclaration |
export type QueryGetProductsArgs = {
id: Scalars['String']
}; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type QueryGetProductArgs = {
id: Scalars['String']
}; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type ProductFragment = (
{ __typename?: 'Product' }
& Pick<Product, 'id' | 'title' | 'rating' | 'shortDescription'>
& { images: Maybe<Array<Maybe<(
{ __typename?: 'ProductImage' }
& Pick<ProductImage, 'key' | 'url'>
)>>>, urls: Maybe<Array<Maybe<(
{ __typename?: 'ProductUrls' }
& Pick<Pr... | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetOfferQueryVariables = {
id: Scalars['String']
}; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetOfferQuery = (
{ __typename?: 'Query' }
& { getOffer: Maybe<(
{ __typename?: 'Offer' }
& Pick<Offer, 'id' | 'price' | 'availabilityDescription'>
& { seller: (
{ __typename?: 'OfferSeller' }
& Pick<OfferSeller, 'displayName'>
) }
)> }
); | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductQueryVariables = {
id: Scalars['String']
}; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductQuery = (
{ __typename?: 'Query' }
& { getProduct: Maybe<(
{ __typename?: 'Product' }
& ProductFragment
)> }
); | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductsQueryVariables = {
id: Scalars['String']
}; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductsQuery = (
{ __typename?: 'Query' }
& { getProducts: Maybe<(
{ __typename?: 'Products' }
& { products: Maybe<Array<Maybe<(
{ __typename?: 'Product' }
& ProductFragment
)>>> }
)> }
); | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetOfferQueryHookResult = ReturnType<typeof useGetOfferQuery>; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetOfferLazyQueryHookResult = ReturnType<typeof useGetOfferLazyQuery>; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetOfferQueryResult = ApolloReactCommon.QueryResult<GetOfferQuery, GetOfferQueryVariables>; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductQueryHookResult = ReturnType<typeof useGetProductQuery>; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductLazyQueryHookResult = ReturnType<typeof useGetProductLazyQuery>; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductQueryResult = ApolloReactCommon.QueryResult<GetProductQuery, GetProductQueryVariables>; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductsQueryHookResult = ReturnType<typeof useGetProductsQuery>; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductsLazyQueryHookResult = ReturnType<typeof useGetProductsLazyQuery>; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
TypeAliasDeclaration |
export type GetProductsQueryResult = ApolloReactCommon.QueryResult<GetProductsQuery, GetProductsQueryVariables>; | maapteh/graphql-modules-app | packages/app/src/graphql/_generated-hooks.tsx | TypeScript |
ClassDeclaration | /**
* <p>Removes an <code><a>IndexField</a></code> from the search domain. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-index-fields.html" target="_blank">Configuring Index Fields</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
* @example
* Use... | AllanFly120/aws-sdk-js-v3 | clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts | TypeScript |
InterfaceDeclaration |
export interface DeleteIndexFieldCommandInput extends DeleteIndexFieldRequest {} | AllanFly120/aws-sdk-js-v3 | clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts | TypeScript |
InterfaceDeclaration |
export interface DeleteIndexFieldCommandOutput extends DeleteIndexFieldResponse, __MetadataBearer {} | AllanFly120/aws-sdk-js-v3 | clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts | TypeScript |
MethodDeclaration | /**
* @internal
*/
resolveMiddleware(
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
configuration: CloudSearchClientResolvedConfig,
options?: __HttpHandlerOptions
): Handler<DeleteIndexFieldCommandInput, DeleteIndexFieldCommandOutput> {
this.middlewareStack.use(getSerdePlu... | AllanFly120/aws-sdk-js-v3 | clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts | TypeScript |
MethodDeclaration |
private serialize(input: DeleteIndexFieldCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
return serializeAws_queryDeleteIndexFieldCommand(input, context);
} | AllanFly120/aws-sdk-js-v3 | clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts | TypeScript |
MethodDeclaration |
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteIndexFieldCommandOutput> {
return deserializeAws_queryDeleteIndexFieldCommand(output, context);
} | AllanFly120/aws-sdk-js-v3 | clients/client-cloudsearch/src/commands/DeleteIndexFieldCommand.ts | TypeScript |
FunctionDeclaration |
function setProvidersVisibility(providers: ResolvedProvider[], visibility: Visibility,
result: Map<number, Visibility>) {
for (var i = 0; i < providers.length; i++) {
result.set(providers[i].key.id, visibility);
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ArrowFunction |
p => p instanceof AttributeMetadata | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ArrowFunction |
p => p instanceof QueryMetadata | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ArrowFunction |
(meta, fieldName) => {
var setter = reflector.setter(fieldName);
queries.push(new QueryMetadataWithSetter(setter, meta));
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ArrowFunction |
d => {
if (isPresent(d.queryDecorator)) {
queries.push(new QueryMetadataWithSetter(null, d.queryDecorator));
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ArrowFunction |
(provider, _) => {
providers.push(
new ProviderWithVisibility(provider, providerVisibilityMap.get(provider.key.id)));
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ArrowFunction |
p => new ProviderWithVisibility(p, Visibility.Public) | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ArrowFunction |
() => this._debugContext() | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ArrowFunction |
p => new QueryRef(p, ei) | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
export class StaticKeys {
templateRefId: number;
viewContainerId: number;
changeDetectorRefId: number;
elementRefId: number;
rendererId: number;
constructor() {
this.templateRefId = Key.get(TemplateRef).id;
this.viewContainerId = Key.get(ViewContainerRef).id;
this.changeDetectorRefId = Key.get... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
export class DirectiveDependency extends Dependency {
constructor(key: Key, optional: boolean, lowerBoundVisibility: Object,
upperBoundVisibility: Object, properties: any[], public attributeName: string,
public queryDecorator: QueryMetadata) {
super(key, optional, lowerBoundVisibility... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
export class DirectiveProvider extends ResolvedProvider_ {
constructor(key: Key, factory: Function, deps: Dependency[], public isComponent: boolean,
public providers: ResolvedProvider[], public viewProviders: ResolvedProvider[],
public queries: QueryMetadataWithSetter[]) {
super(key, ... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
export class QueryMetadataWithSetter {
constructor(public setter: SetterFn, public metadata: QueryMetadata) {}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
export class AppProtoElement {
protoInjector: ProtoInjector;
static create(metadataCache: ResolvedMetadataCache, index: number,
attributes: {[key: string]: string}, directiveTypes: Type[],
directiveVariableBindings: {[key: string]: number}): AppProtoElement {
var componentDirPr... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
class _Context {
constructor(public element: any, public componentElement: any, public injector: any) {}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
export class InjectorWithHostBoundary {
constructor(public injector: Injector, public hostInjectorBoundary: boolean) {}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
class _EmptyQueryStrategy implements _QueryStrategy {
setContentQueriesAsDirty(): void {}
setViewQueriesAsDirty(): void {}
updateContentQueries(): void {}
updateViewQueries(): void {}
findQuery(query: QueryMetadata): QueryRef {
throw new BaseException(`Cannot find query for directive ${query}.`);
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
class InlineQueryStrategy implements _QueryStrategy {
static NUMBER_OF_SUPPORTED_QUERIES = 3;
query0: QueryRef;
query1: QueryRef;
query2: QueryRef;
constructor(ei: AppElement) {
var protoRefs = ei.proto.protoQueryRefs;
if (protoRefs.length > 0) this.query0 = new QueryRef(protoRefs[0], ei);
if (... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
class DynamicQueryStrategy implements _QueryStrategy {
queries: QueryRef[];
constructor(ei: AppElement) {
this.queries = ei.proto.protoQueryRefs.map(p => new QueryRef(p, ei));
}
setContentQueriesAsDirty(): void {
for (var i = 0; i < this.queries.length; ++i) {
var q = this.queries[i];
if ... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration | /**
* Strategy used by the `ElementInjector` when the number of providers is 10 or less.
* In such a case, inlining fields is beneficial for performances.
*/
class ElementDirectiveInlineStrategy implements _ElementDirectiveStrategy {
constructor(public injectorStrategy: InjectorInlineStrategy, public _ei: AppEleme... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration | /**
* Strategy used by the `ElementInjector` when the number of bindings is 11 or more.
* In such a case, there are too many fields to inline (see ElementInjectorInlineStrategy).
*/
class ElementDirectiveDynamicStrategy implements _ElementDirectiveStrategy {
constructor(public injectorStrategy: InjectorDynamicStra... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
export class ProtoQueryRef {
constructor(public dirIndex: number, public setter: SetterFn, public query: QueryMetadata) {}
get usesPropertySyntax(): boolean { return isPresent(this.setter); }
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
export class QueryRef {
public list: QueryList<any>;
public dirty: boolean;
constructor(public protoQueryRef: ProtoQueryRef, private originator: AppElement) {
this.list = new QueryList<any>();
this.dirty = true;
}
get isViewQuery(): boolean { return this.protoQueryRef.query.isViewQuery; }
update... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
ClassDeclaration |
class _ComponentViewChangeDetectorRef extends ChangeDetectorRef {
constructor(private _appElement: AppElement) { super(); }
markForCheck(): void { this._appElement.componentView.changeDetector.ref.markForCheck(); }
detach(): void { this._appElement.componentView.changeDetector.ref.detach(); }
detectChanges():... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
InterfaceDeclaration |
interface _QueryStrategy {
setContentQueriesAsDirty(): void;
setViewQueriesAsDirty(): void;
updateContentQueries(): void;
updateViewQueries(): void;
findQuery(query: QueryMetadata): QueryRef;
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
InterfaceDeclaration |
interface _ElementDirectiveStrategy {
getComponent(): any;
isComponentKey(key: Key): boolean;
addDirectivesMatchingQuery(q: QueryMetadata, res: any[]): void;
init(): void;
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
static instance(): StaticKeys {
if (isBlank(_staticKeys)) _staticKeys = new StaticKeys();
return _staticKeys;
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration | /** @internal */
_verify(): void {
var count = 0;
if (isPresent(this.queryDecorator)) count++;
if (isPresent(this.attributeName)) count++;
if (count > 1)
throw new BaseException(
'A directive injectable can contain only one of the following @Attribute or @Query.');
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
static createFrom(d: Dependency): DirectiveDependency {
return new DirectiveDependency(
d.key, d.optional, d.lowerBoundVisibility, d.upperBoundVisibility, d.properties,
DirectiveDependency._attributeName(d.properties), DirectiveDependency._query(d.properties));
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration | /** @internal */
static _attributeName(properties: any[]): string {
var p = <AttributeMetadata>properties.find(p => p instanceof AttributeMetadata);
return isPresent(p) ? p.attributeName : null;
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration | /** @internal */
static _query(properties: any[]): QueryMetadata {
return <QueryMetadata>properties.find(p => p instanceof QueryMetadata);
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
static createFromType(type: Type, meta: DirectiveMetadata): DirectiveProvider {
var provider = new Provider(type, {useClass: type});
if (isBlank(meta)) {
meta = new DirectiveMetadata();
}
var rb = resolveProvider(provider);
var rf = rb.resolvedFactories[0];
var deps: DirectiveDependency[]... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
static create(metadataCache: ResolvedMetadataCache, index: number,
attributes: {[key: string]: string}, directiveTypes: Type[],
directiveVariableBindings: {[key: string]: number}): AppProtoElement {
var componentDirProvider = null;
var mergedProvidersMap: Map<number, ResolvedPro... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getProviderAtIndex(index: number): any { return this.protoInjector.getProviderAtIndex(index); } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
static getViewParentInjector(parentViewType: ViewType, containerAppElement: AppElement,
imperativelyCreatedProviders: ResolvedProvider[],
rootInjector: Injector): InjectorWithHostBoundary {
var parentInjector;
var hostInjectorBoundary;
switch (p... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
attachComponentView(componentView: AppView) { this.componentView = componentView; } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
private _debugContext(): any {
var c = this.parentView.getDebugContext(this, null, null);
return isPresent(c) ? new _Context(c.element, c.componentElement, c.injector) : null;
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
hasVariableBinding(name: string): boolean {
var vb = this.proto.directiveVariableBindings;
return isPresent(vb) && StringMapWrapper.contains(vb, name);
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getVariableBinding(name: string): any {
var index = this.proto.directiveVariableBindings[name];
return isPresent(index) ? this.getDirectiveAtIndex(<number>index) : this.getElementRef();
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
get(token: any): any { return this._injector.get(token); } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
hasDirective(type: Type): boolean { return isPresent(this._injector.getOptional(type)); } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getComponent(): any { return isPresent(this._strategy) ? this._strategy.getComponent() : null; } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getInjector(): Injector { return this._injector; } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getElementRef(): ElementRef { return this.ref; } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getViewContainerRef(): ViewContainerRef { return new ViewContainerRef_(this); } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getTemplateRef(): TemplateRef {
if (isPresent(this.embeddedViewFactory)) {
return new TemplateRef_(this.ref);
}
return null;
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getDependency(injector: Injector, provider: ResolvedProvider, dep: Dependency): any {
if (provider instanceof DirectiveProvider) {
var dirDep = <DirectiveDependency>dep;
if (isPresent(dirDep.attributeName)) return this._buildAttribute(dirDep);
if (isPresent(dirDep.queryDecorator))
retur... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
private _buildAttribute(dep: DirectiveDependency): string {
var attributes = this.proto.attributes;
if (isPresent(attributes) && StringMapWrapper.contains(attributes, dep.attributeName)) {
return attributes[dep.attributeName];
} else {
return null;
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
addDirectivesMatchingQuery(query: QueryMetadata, list: any[]): void {
var templateRef = this.getTemplateRef();
if (query.selector === TemplateRef && isPresent(templateRef)) {
list.push(templateRef);
}
if (this._strategy != null) {
this._strategy.addDirectivesMatchingQuery(query, list);
... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
private _buildQueryStrategy(): _QueryStrategy {
if (this.proto.protoQueryRefs.length === 0) {
return _emptyQueryStrategy;
} else if (this.proto.protoQueryRefs.length <=
InlineQueryStrategy.NUMBER_OF_SUPPORTED_QUERIES) {
return new InlineQueryStrategy(this);
} else {
return ... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getDirectiveAtIndex(index: number): any { return this._injector.getAt(index); } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
ngAfterViewChecked(): void {
if (isPresent(this._queryStrategy)) this._queryStrategy.updateViewQueries();
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
ngAfterContentChecked(): void {
if (isPresent(this._queryStrategy)) this._queryStrategy.updateContentQueries();
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
traverseAndSetQueriesAsDirty(): void {
var inj: AppElement = this;
while (isPresent(inj)) {
inj._setQueriesAsDirty();
inj = inj.parent;
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
private _setQueriesAsDirty(): void {
if (isPresent(this._queryStrategy)) {
this._queryStrategy.setContentQueriesAsDirty();
}
if (this.parentView.proto.type === ViewType.COMPONENT) {
this.parentView.containerAppElement._queryStrategy.setViewQueriesAsDirty();
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
setContentQueriesAsDirty(): void {} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
setViewQueriesAsDirty(): void {} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
updateContentQueries(): void {} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
updateViewQueries(): void {} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
findQuery(query: QueryMetadata): QueryRef {
throw new BaseException(`Cannot find query for directive ${query}.`);
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
setContentQueriesAsDirty(): void {
if (isPresent(this.query0) && !this.query0.isViewQuery) this.query0.dirty = true;
if (isPresent(this.query1) && !this.query1.isViewQuery) this.query1.dirty = true;
if (isPresent(this.query2) && !this.query2.isViewQuery) this.query2.dirty = true;
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
setViewQueriesAsDirty(): void {
if (isPresent(this.query0) && this.query0.isViewQuery) this.query0.dirty = true;
if (isPresent(this.query1) && this.query1.isViewQuery) this.query1.dirty = true;
if (isPresent(this.query2) && this.query2.isViewQuery) this.query2.dirty = true;
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
updateContentQueries() {
if (isPresent(this.query0) && !this.query0.isViewQuery) {
this.query0.update();
}
if (isPresent(this.query1) && !this.query1.isViewQuery) {
this.query1.update();
}
if (isPresent(this.query2) && !this.query2.isViewQuery) {
this.query2.update();
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
updateViewQueries() {
if (isPresent(this.query0) && this.query0.isViewQuery) {
this.query0.update();
}
if (isPresent(this.query1) && this.query1.isViewQuery) {
this.query1.update();
}
if (isPresent(this.query2) && this.query2.isViewQuery) {
this.query2.update();
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
findQuery(query: QueryMetadata): QueryRef {
if (isPresent(this.query0) && this.query0.protoQueryRef.query === query) {
return this.query0;
}
if (isPresent(this.query1) && this.query1.protoQueryRef.query === query) {
return this.query1;
}
if (isPresent(this.query2) && this.query2.protoQu... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
setContentQueriesAsDirty(): void {
for (var i = 0; i < this.queries.length; ++i) {
var q = this.queries[i];
if (!q.isViewQuery) q.dirty = true;
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
setViewQueriesAsDirty(): void {
for (var i = 0; i < this.queries.length; ++i) {
var q = this.queries[i];
if (q.isViewQuery) q.dirty = true;
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
updateContentQueries() {
for (var i = 0; i < this.queries.length; ++i) {
var q = this.queries[i];
if (!q.isViewQuery) {
q.update();
}
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
updateViewQueries() {
for (var i = 0; i < this.queries.length; ++i) {
var q = this.queries[i];
if (q.isViewQuery) {
q.update();
}
}
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
findQuery(query: QueryMetadata): QueryRef {
for (var i = 0; i < this.queries.length; ++i) {
var q = this.queries[i];
if (q.protoQueryRef.query === query) {
return q;
}
}
throw new BaseException(`Cannot find query for directive ${query}.`);
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
init(): void {
var i = this.injectorStrategy;
var p = i.protoStrategy;
i.resetConstructionCounter();
if (p.provider0 instanceof DirectiveProvider && isPresent(p.keyId0) && i.obj0 === UNDEFINED)
i.obj0 = i.instantiateProvider(p.provider0, p.visibility0);
if (p.provider1 instanceof DirectivePr... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getComponent(): any { return this.injectorStrategy.obj0; } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
isComponentKey(key: Key): boolean {
return this._ei.proto.firstProviderIsComponent && isPresent(key) &&
key.id === this.injectorStrategy.protoStrategy.keyId0;
} | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
addDirectivesMatchingQuery(query: QueryMetadata, list: any[]): void {
var i = this.injectorStrategy;
var p = i.protoStrategy;
if (isPresent(p.provider0) && p.provider0.key.token === query.selector) {
if (i.obj0 === UNDEFINED) i.obj0 = i.instantiateProvider(p.provider0, p.visibility0);
list.push... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
init(): void {
var inj = this.injectorStrategy;
var p = inj.protoStrategy;
inj.resetConstructionCounter();
for (var i = 0; i < p.keyIds.length; i++) {
if (p.providers[i] instanceof DirectiveProvider && isPresent(p.keyIds[i]) &&
inj.objs[i] === UNDEFINED) {
inj.objs[i] = inj.ins... | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
MethodDeclaration |
getComponent(): any { return this.injectorStrategy.objs[0]; } | AjitSutar7276/demo | node_modules/angular2/ts/src/core/linker/element.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.