Home
last modified time | relevance | path

Searched refs:expression (Results 1 – 10 of 10) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt155 expression: UExpression in appendExpression()
157 if (expression.isArrayInitializer()) { in appendExpression()
158 val call = expression as UCallExpression in appendExpression()
182 } else if (expression is UReferenceExpression) { in appendExpression()
183 when (val resolved = expression.resolve()) { in appendExpression()
225 sb.append(expression.asSourceString()) in appendExpression()
235 warning("Unexpected reference to $expression", expression) in appendExpression()
238 sb.append(expression.asSourceString()) in appendExpression()
242 } else if (expression is ULiteralExpression) { in appendExpression()
243 val literalValue = expression.value in appendExpression()
[all …]
DPsiConstructorItem.kt83 if (curr is PsiExpressionStatement && curr.expression is PsiMethodCallExpression && in isImplicitConstructor()
84 curr.expression.firstChild?.lastChild is PsiKeyword && in isImplicitConstructor()
85 curr.expression.firstChild?.lastChild?.text == "super" in isImplicitConstructor()
87 val resolved = (curr.expression as PsiMethodCallExpression).resolveMethod() in isImplicitConstructor()
DUAnnotationItem.kt80 UAnnotationAttribute(codebase, attribute.name ?: ATTR_VALUE, attribute.expression) in <lambda>()
110 list.add(Pair(attr.name, attr.expression)) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DExtractAnnotations.kt365 val value = attributes[0].expression in <lambda>()
543 val expression = attributes[0].expression in <lambda>() constant
544 if (expression is UAnnotation) { in <lambda>()
554 val annotation = expression as UAnnotation in <lambda>()
556 } else if (expression is UCallExpression) { in <lambda>()
557 val nestedPsi = expression.sourcePsi as? PsiAnnotation in <lambda>()
559 UastFacade.convertElement(it, expression, UAnnotation::class.java) in <lambda>()
562 … } else if (expression is UastEmptyExpression && attributes[0].sourcePsi is PsiNameValuePair) { in <lambda>()
574 val expression = pair.expression in <lambda>() constant
575 val value = attributeString(expression, inlineConstants) ?: continue in <lambda>()
DAnnotationFilter.kt67 for (expression in inclusionExpressions) { in getIncludedAnnotationNames() constant
68 annotationNames.add(expression.qualifiedName) in getIncludedAnnotationNames()
/tools/repohooks/tools/
Dpylintrc129 # Python expression which should return a note less than 10 (10 is the highest
208 # A regular expression matching the name of dummy variables (i.e. expectedly
277 # Regular expression matching correct function names
283 # Regular expression matching correct variable names
289 # Regular expression matching correct constant names
295 # Regular expression matching correct attribute names
301 # Regular expression matching correct argument names
307 # Regular expression matching correct class attribute names
313 # Regular expression matching correct inline iteration names
319 # Regular expression matching correct class names
[all …]
Dcpplint.py4655 expression = lines[linenum][start_pos + 1:end_pos - 1]
4657 expression = lines[linenum][start_pos + 1:]
4659 expression += lines[i]
4660 expression += last_line[0:end_pos - 1]
4668 while expression:
4670 r'==|!=|>=|>|<=|<|\()(.*)$', expression)
4675 expression = matched.group(2)
4676 (end, _) = FindEndOfExpressionInLine(expression, 0, ['('])
4679 lhs += '(' + expression[0:end]
4680 expression = expression[end:]
[all …]
Dspelling.txt623 expresion||expression
/tools/asuite/
Dpylintrc20 # Regular expression matching correct method names.
/tools/repohooks/
DREADME.md252 expression](https://docs.python.org/howto/regex.html) by using the `^` prefix.