Lines Matching full:should
28 it('should return false if node has no parent', function () {
32 it('should return ture when node.parent is PropertyAssignment', function () {
38 it('should return ture when node.parent is ComputedPropertyName', function () {
44 it('should return ture when node.parent is BindingElement', function () {
50 it('should return ture when node.parent is PropertySignature', function () {
56 it('should return ture when node.parent is MethodSignature', function () {
62 it('should return ture when node.parent is EnumMember', function () {
68 it('should return ture when node.parent is PropertyDeclaration', function () {
74 it('should return ture when node.parent is MethodDeclaration', function () {
80 it('should return ture when node.parent is SetAccessorDeclaration', function () {
86 it('should return ture when node.parent is GetAccessorDeclaration', function () {
107 it('should return true when node is a PropertyAccessNode', function () {
112 it('should return true when node is a isElementAccessNode', function () {
117 …it('should return false when both isPropertyAccessNode and isElementAccessNode return false', func…
136 it('should return false if node has no parent', function () {
140 …it('should return true if isPropertyAccessExpression and parent.name equals to node', function () {
146 …it('should return isInExpression(parent) if isPrivateIdentifier and isInClassDeclaration', functio…
156 it('should return true if isQualifiedName and parent.right equals to node', function () {
164 it('should return flase when node is undefined', function () {
167 it('should return true when node is ClassDeclaration', function () {
171 it('should return true when node is ClassExpression', function () {
175 it('should return true when node.parent is isInClassDeclaration', function () {
183 it('should return flase when node is undefined', function () {
186 it('should return true when node is ClassDeclaration', function () {
190 it('should return true when node is ClassExpression', function () {
194 it('should return true when node.parent is isInClassDeclaration', function () {
202 it('should return flase when node is undefined', function () {
205 it('should return isInOperator(node) when node is not undefined', function () {
215 … it('should return true when node is binary expression and operator is InKeyword', function () {
220 it('should return false when node is not binary expression', function () {
224 it('should return false when operator is not Inkeyword', function () {
232 it('should return false if node has no parent', function () {
236 …it('should return true if isElementAccessExpression and parent argumentExpression equals to node',…
245 it('should return false if node has no parent', function () {
249 …it('should return false if isIndexedAccessNode but parent literalType not equals to node', functio…
258 …it('should return true if isIndexedAccessNode and parent literalType equals to node', function () {
271 it('should return false if node is not an Identifier', function () {
275 it('should return false when node has no parent', function () {
279 it('should return false when node parent is not a parameter', function () {
285 it('should return false when modifiers is undefined', function () {
291 …it('should return false when modifiers length is 0 or modifier is ParameterPropertyModifier', func…
297 it('should return true when node parent parent is ConstructorDeclaration', function () {
308 it('should return false if node is not an Identifier', function () {
320 …it('should return false when curNode is not a ConstructorDeclaration or id does not exist in const…
331 it('should return true when node is PropertyOrElementAccessNode', function () {
337 it('should return true when node is a PropertyDeclarationNode', function () {
343 it('should return true when node is a IndexedAccessNode', function () {
352 it('should return false when node is not VariableDeclaration', function () {
358 it('should return true when node parent initializer is CallExpression', function () {
369 it('should return false when sourceFile is not a declarationFile', function () {
377 it('should return node when node kind is SyntaxKind.SourceFile', function () {
383 it('should return node parent when node kind is not SyntaxKind.SourceFile', function () {
395 it('should return true when node fileName end with .d.ets', function () {
406 …it('should return true when node parent is MetaProperty and node parent keywordToken is yntaxKind.…
412 it('should return false when node is not a new target node', function () {
562 it('should return false if has no modifier', function () {
569 it('should return false if has no export modifier', function () {
576 it('should return true if has export modifier', function () {