Lines Matching full:should
26 it('should return false if node has no parent', function () {
30 it('should return ture when node.parent is PropertyAssignment', function () {
36 it('should return ture when node.parent is ComputedPropertyName', function () {
42 it('should return ture when node.parent is BindingElement', function () {
48 it('should return ture when node.parent is PropertySignature', function () {
54 it('should return ture when node.parent is MethodSignature', function () {
60 it('should return ture when node.parent is EnumMember', function () {
66 it('should return ture when node.parent is PropertyDeclaration', function () {
72 it('should return ture when node.parent is MethodDeclaration', function () {
78 it('should return ture when node.parent is SetAccessorDeclaration', function () {
84 it('should return ture when node.parent is GetAccessorDeclaration', function () {
105 it('should return true when node is a PropertyAccessNode', function () {
110 it('should return true when node is a isElementAccessNode', function () {
115 …it('should return false when both isPropertyAccessNode and isElementAccessNode return false', func…
134 it('should return false if node has no parent', function () {
138 …it('should return true if isPropertyAccessExpression and parent.name equals to node', function () {
144 …it('should return isInExpression(parent) if isPrivateIdentifier and isInClassDeclaration', functio…
154 it('should return true if isQualifiedName and parent.right equals to node', function () {
162 it('should return flase when node is undefined', function () {
165 it('should return true when node is ClassDeclaration', function () {
169 it('should return true when node is ClassExpression', function () {
173 it('should return true when node.parent is isInClassDeclaration', function () {
181 it('should return flase when node is undefined', function () {
184 it('should return true when node is ClassDeclaration', function () {
188 it('should return true when node is ClassExpression', function () {
192 it('should return true when node.parent is isInClassDeclaration', function () {
200 it('should return flase when node is undefined', function () {
203 it('should return isInOperator(node) when node is not undefined', function () {
213 … it('should return true when node is binary expression and operator is InKeyword', function () {
218 it('should return false when node is not binary expression', function () {
222 it('should return false when operator is not Inkeyword', function () {
230 it('should return false if node has no parent', function () {
234 …it('should return true if isElementAccessExpression and parent argumentExpression equals to node',…
242 it('should return false if node is not an Identifier', function () {
246 it('should return false when node has no parent', function () {
250 it('should return false when node parent is not a parameter', function () {
256 it('should return false when modifiers is undefined', function () {
262 …it('should return false when modifiers length is 0 or modifier is ParameterPropertyModifier', func…
268 it('should return true when node parent parent is ConstructorDeclaration', function () {
279 it('should return false if node is not an Identifier', function () {
291 …it('should return false when curNode is not a ConstructorDeclaration or id does not exist in const…
302 it('should return true when node is PropertyOrElementAccessNode', function () {
308 it('should return true when node is a PropertyDeclarationNode', function () {
317 it('should return false when node is not VariableDeclaration', function () {
323 it('should return true when node parent initializer is CallExpression', function () {
334 it('should return false when sourceFile is not a declarationFile', function () {
342 it('should return node when node kind is SyntaxKind.SourceFile', function () {
348 it('should return node parent when node kind is not SyntaxKind.SourceFile', function () {
360 it('should return true when node fileName end with .d.ets', function () {
371 …it('should return true when node parent is MetaProperty and node parent keywordToken is yntaxKind.…
377 it('should return false when node is not a new target node', function () {