• Home
  • Raw
  • Download

Lines Matching full:undefined

38     it('should return false if heritageClauses is undefined', () => {
39 … const classNode = ts.factory.createClassDeclaration(undefined, "Class", undefined, undefined, []);
43 it('should return false if classNode is undefined', () => {
44 expect(isViewPUBasedClass(undefined)).to.be.false;
47 it('should return false if heritageClause.types is undefined', () => {
48 … const heritageClause = ts.factory.createHeritageClause(ts.SyntaxKind.ExtendsKeyword, undefined);
49 …const classNode = ts.factory.createClassDeclaration(undefined, "Class", undefined, [heritageClause…
53 it('should return false if classNode.heritageClause.types.member is undefined', () => {
54 … const heritageClause = ts.factory.createHeritageClause(ts.SyntaxKind.ExtendsKeyword, [undefined]);
55 …const classNode = ts.factory.createClassDeclaration(undefined, "Class", undefined, [heritageClause…
65 …const classNode = ts.factory.createClassDeclaration(undefined, "Class", undefined, [heritageClause…
71 it('should not add items to propertySet if type is undefined', () => {
73 …const typeAliasNode = ts.factory.createTypeAliasDeclaration(undefined, name, undefined, undefined);
86 ts.factory.createPropertySignature(undefined, undefined, undefined, type),
87 ts.factory.createPropertySignature(undefined, identifierName, undefined, type),
88 ts.factory.createPropertySignature(undefined, stringName, undefined, type),
89 ts.factory.createPropertySignature(undefined, computedPropertyName, undefined, type),
91 … const typeAliasNode = ts.factory.createTypeAliasDeclaration(undefined, name, undefined, types);
100 it('should not add items to propertySet if elementAccessExpression is undefined', () => {
102 getElementAccessExpressionProperties(undefined, propertySet);
126 it('should not add items to propertySet if interfaceNode is undefined', () => {
128 getInterfaceProperties(undefined, propertySet);
134 ts.factory.createPropertySignature([], undefined, undefined, undefined),
135 …ctory.createPropertySignature([], ts.factory.createStringLiteral('property'), undefined, undefined)
137 …interfaceNode = ts.factory.createInterfaceDeclaration(undefined, 'Interface', undefined, undefined
146 it('should not add items to propertySet if classNode is undefined', () => {
148 getClassProperties(undefined, propertySet);
154 undefined,
155 undefined,
156 undefined,
157 undefined,
158 undefined,
164 undefined,
166 undefined,
168 undefined
172 undefined,
174 undefined,
186 undefined,
187 ts.factory.createPropertyDeclaration(undefined, 'name', undefined, undefined, undefined),
189 undefined,
190 undefined,
195 …structDeclaration = ts.factory.createStructDeclaration(undefined, undefined, undefined, undefined,…
204 it('should not add items to propertySet if enumNode is undefined', () => {
206 getEnumProperties(undefined, propertySet);
212 undefined,
215 const enumNode = ts.factory.createEnumDeclaration(undefined, undefined, 'enum', members);
223 it('should not add items to propertySet if objNode is undefined', () => {
225 getObjectProperties(undefined, propertySet);
235 undefined,