Home
last modified time | relevance | path

Searched refs:ast (Results 1 – 25 of 1636) sorted by relevance

12345678910>>...66

/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dparser_unittest.py24 import mojom.parse.ast as ast namespace
40 expected = ast.Mojom(
41 ast.Module(('IDENTIFIER', 'my_module'), None),
42 ast.ImportList(),
50 expected = ast.Mojom(
51 ast.Module(('IDENTIFIER', 'my_module'), None),
52 ast.ImportList(),
142 expected = ast.Mojom(
143 ast.Module(('IDENTIFIER', 'my_module'), None),
144 ast.ImportList(),
[all …]
/external/python/cpython3/Lib/test/
Dtest_ast.py1 import ast
196 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
198 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
211 x = ast.AST()
222 ast.AST(2)
227 a = ast.AST()
241 ast_tree = compile(i, "?", kind, ast.PyCF_ONLY_AST)
248 slc = ast.parse("x[::]").body[0].value.slice
254 im = ast.parse("from . import y").body[0]
258 mod = ast.parse("from __future__ import division")
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_visitor_GenericVisitorAdapter.txt1 …mment(n, arg) ==> com.github.javaparser.ast.visitor.GenericVisitorAdapter.visitComment(com.github.…
2 Line 44) n.getAnnotations() ==> com.github.javaparser.ast.body.BodyDeclaration.getAnnotations()
3 Line 45) n.getAnnotations() ==> com.github.javaparser.ast.body.BodyDeclaration.getAnnotations()
4 …Line 47) a.accept(this, arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.v…
5 Line 54) n.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
6 Line 55) n.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
7 … 57) member.accept(this, arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.…
8 …mment(n, arg) ==> com.github.javaparser.ast.visitor.GenericVisitorAdapter.visitComment(com.github.…
9 Line 70) n.getAnnotations() ==> com.github.javaparser.ast.body.BodyDeclaration.getAnnotations()
10 Line 71) n.getAnnotations() ==> com.github.javaparser.ast.body.BodyDeclaration.getAnnotations()
[all …]
Dcom_github_javaparser_ast_visitor_VoidVisitorAdapter.txt1 …Comment(), arg) ==> com.github.javaparser.ast.visitor.VoidVisitorAdapter.visitComment(com.github.j…
2 Line 93) n.getComment() ==> com.github.javaparser.ast.Node.getComment()
3 …tions(n, arg) ==> com.github.javaparser.ast.visitor.VoidVisitorAdapter.visitAnnotations(com.github…
4 …Expr().accept(this, arg) ==> com.github.javaparser.ast.expr.NameExpr.accept(com.github.javaparser.
5 Line 95) n.getNameExpr() ==> com.github.javaparser.ast.body.TypeDeclaration.getNameExpr()
6 Line 96) n.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
7 Line 97) n.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
8 … 98) member.accept(this, arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.…
9 …Comment(), arg) ==> com.github.javaparser.ast.visitor.VoidVisitorAdapter.visitComment(com.github.j…
10 Line 104) n.getComment() ==> com.github.javaparser.ast.Node.getComment()
[all …]
Dcom_github_javaparser_ast_visitor_CloneVisitor.txt1 …Line 114) cloneNodes(_n.getPackage(), _arg) ==> com.github.javaparser.ast.visitor.CloneVisitor.clo…
2 Line 114) _n.getPackage() ==> com.github.javaparser.ast.CompilationUnit.getPackage()
3 …Line 115) visit(_n.getImports(), _arg) ==> com.github.javaparser.ast.visitor.CloneVisitor.visit(ja…
4 Line 115) _n.getImports() ==> com.github.javaparser.ast.CompilationUnit.getImports()
5 …Line 116) visit(_n.getTypes(), _arg) ==> com.github.javaparser.ast.visitor.CloneVisitor.visit(java…
6 Line 116) _n.getTypes() ==> com.github.javaparser.ast.CompilationUnit.getTypes()
7 Line 119) _n.getRange() ==> com.github.javaparser.ast.Node.getRange()
8 …Line 126) visit(_n.getAnnotations(), _arg) ==> com.github.javaparser.ast.visitor.CloneVisitor.visi…
9 Line 126) _n.getAnnotations() ==> com.github.javaparser.ast.PackageDeclaration.getAnnotations()
10 …Line 127) cloneNodes(_n.getName(), _arg) ==> com.github.javaparser.ast.visitor.CloneVisitor.cloneN…
[all …]
Dcom_github_javaparser_ast_visitor_DumpVisitor.txt2 Line 92) makeIndent() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.makeIndent()
4 …Line 99) print(arg) ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.print(java.lan…
5 Line 100) printLn() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.printLn()
8 Line 114) getSource() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.getSource()
9 …Line 118) createSourcePrinter() ==> com.github.javaparser.ast.visitor.DumpVisitor.createSourcePrin…
10 …Line 125) printer.getSource() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.getS…
12 …:getLib).collect(Collectors.joining(" ")) + " ") ==> com.github.javaparser.ast.visitor.DumpVisitor…
17 …Line 135) printer.printLn() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.printL…
18 …136) member.accept(this, arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.…
19 …Line 137) printer.printLn() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.printL…
[all …]
Dcom_github_javaparser_ast_visitor_EqualsVisitor.txt1 …Line 111) SINGLETON.nodeEquals(n1, n2) ==> com.github.javaparser.ast.visitor.EqualsVisitor.nodeEqu…
2 …Line 123) nodeEquals(n1.getComment(), n2.getComment()) ==> com.github.javaparser.ast.visitor.Equal…
3 Line 123) n1.getComment() ==> com.github.javaparser.ast.Node.getComment()
4 Line 123) n2.getComment() ==> com.github.javaparser.ast.Node.getComment()
5 …(n1.getOrphanComments(), n2.getOrphanComments()) ==> com.github.javaparser.ast.visitor.EqualsVisit…
6 Line 126) n1.getOrphanComments() ==> com.github.javaparser.ast.Node.getOrphanComments()
7 Line 126) n2.getOrphanComments() ==> com.github.javaparser.ast.Node.getOrphanComments()
11 …Line 139) nodeEquals(nodes1.get(i), nodes2.get(i)) ==> com.github.javaparser.ast.visitor.EqualsVis…
16 …=> com.github.javaparser.ast.visitor.EqualsVisitor.commonNodeEquality(com.github.javaparser.ast.No…
17 …Line 159) n1.accept(this, n2) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.…
[all …]
Dcom_github_javaparser_ast_visitor_ModifierVisitorAdapter.txt4 …ons(n, arg) ==> com.github.javaparser.ast.visitor.ModifierVisitorAdapter.visitAnnotations(com.gith…
5 …mment(n, arg) ==> com.github.javaparser.ast.visitor.ModifierVisitorAdapter.visitComment(com.github…
6 Line 130) n.getMembers() ==> com.github.javaparser.ast.body.TypeDeclaration.getMembers()
9 …bers.get(i).accept(this, arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.…
11 …Line 135) removeNulls(members) ==> com.github.javaparser.ast.visitor.ModifierVisitorAdapter.remove…
12 …Line 141) n.getAnnotations() ==> com.github.javaparser.ast.nodeTypes.NodeWithAnnotations.getAnnota…
15 …ions.get(i).accept(this, arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.…
17 …Line 146) removeNulls(annotations) ==> com.github.javaparser.ast.visitor.ModifierVisitorAdapter.re…
18 …mment(n, arg) ==> com.github.javaparser.ast.visitor.ModifierVisitorAdapter.visitComment(com.github…
19 Line 152) n.getAnnotations() ==> com.github.javaparser.ast.body.BodyDeclaration.getAnnotations()
[all …]
Dcom_github_javaparser_ast_body_FieldDeclaration.txt2 …difiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(java.util.EnumSet<com.gi…
3 …ype(elementType) ==> com.github.javaparser.ast.body.FieldDeclaration.setElementType(com.github.jav…
5 …ables(aux) ==> com.github.javaparser.ast.body.FieldDeclaration.setVariables(java.util.List<com.git…
6 …difiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(java.util.EnumSet<com.gi…
7 …ype(elementType) ==> com.github.javaparser.ast.body.FieldDeclaration.setElementType(com.github.jav…
8 …variables) ==> com.github.javaparser.ast.body.FieldDeclaration.setVariables(java.util.List<com.git…
9 …difiers) ==> com.github.javaparser.ast.body.FieldDeclaration.setModifiers(java.util.EnumSet<com.gi…
10 …ype(elementType) ==> com.github.javaparser.ast.body.FieldDeclaration.setElementType(com.github.jav…
11 …variables) ==> com.github.javaparser.ast.body.FieldDeclaration.setVariables(java.util.List<com.git…
12 …=> com.github.javaparser.ast.body.FieldDeclaration.setArrayBracketPairsAfterElementType(java.util.…
[all …]
Dcom_github_javaparser_ast_body_MethodDeclaration.txt2 …difiers) ==> com.github.javaparser.ast.body.MethodDeclaration.setModifiers(java.util.EnumSet<com.g…
3 …ype(elementType) ==> com.github.javaparser.ast.body.MethodDeclaration.setElementType(com.github.ja…
4 …Line 93) setName(name) ==> com.github.javaparser.ast.body.MethodDeclaration.setName(java.lang.Stri…
5 …difiers) ==> com.github.javaparser.ast.body.MethodDeclaration.setModifiers(java.util.EnumSet<com.g…
6 …ype(elementType) ==> com.github.javaparser.ast.body.MethodDeclaration.setElementType(com.github.ja…
7 …Line 100) setName(name) ==> com.github.javaparser.ast.body.MethodDeclaration.setName(java.lang.Str…
8 …rameters) ==> com.github.javaparser.ast.body.MethodDeclaration.setParameters(java.util.List<com.gi…
9 …difiers) ==> com.github.javaparser.ast.body.MethodDeclaration.setModifiers(java.util.EnumSet<com.g…
10 …meters) ==> com.github.javaparser.ast.body.MethodDeclaration.setTypeParameters(java.util.List<com.…
11 …ype(elementType) ==> com.github.javaparser.ast.body.MethodDeclaration.setElementType(com.github.ja…
[all …]
Dcom_github_javaparser_ast_body_Parameter.txt2 …Line 68) setId(id) ==> com.github.javaparser.ast.body.Parameter.setId(com.github.javaparser.ast.bo…
3 …entType(elementType) ==> com.github.javaparser.ast.body.Parameter.setElementType(com.github.javapa…
4 …s(modifiers) ==> com.github.javaparser.ast.body.Parameter.setModifiers(java.util.EnumSet<com.githu…
5 …Line 87) setId(id) ==> com.github.javaparser.ast.body.Parameter.setId(com.github.javaparser.ast.bo…
6 …entType(elementType) ==> com.github.javaparser.ast.body.Parameter.setElementType(com.github.javapa…
7 …s(modifiers) ==> com.github.javaparser.ast.body.Parameter.setModifiers(java.util.EnumSet<com.githu…
8 …annotations) ==> com.github.javaparser.ast.body.Parameter.setAnnotations(java.util.List<com.github…
9 …Line 101) setId(id) ==> com.github.javaparser.ast.body.Parameter.setId(com.github.javaparser.ast.b…
10 …entType(elementType) ==> com.github.javaparser.ast.body.Parameter.setElementType(com.github.javapa…
11 Line 103) setVarArgs(isVarArgs) ==> com.github.javaparser.ast.body.Parameter.setVarArgs(boolean)
[all …]
Dcom_github_javaparser_ast_body_VariableDeclarator.txt1 …Line 55) setId(id) ==> com.github.javaparser.ast.body.VariableDeclarator.setId(com.github.javapars…
2 …torId(variableName)) ==> com.github.javaparser.ast.body.VariableDeclarator.setId(com.github.javapa…
3 …Line 71) setId(id) ==> com.github.javaparser.ast.body.VariableDeclarator.setId(com.github.javapars…
4 …e 72) setInit(init) ==> com.github.javaparser.ast.body.VariableDeclarator.setInit(com.github.javap…
5 …torId(variableName)) ==> com.github.javaparser.ast.body.VariableDeclarator.setId(com.github.javapa…
6 …e 77) setInit(init) ==> com.github.javaparser.ast.body.VariableDeclarator.setInit(com.github.javap…
7 …Line 82) setId(id) ==> com.github.javaparser.ast.body.VariableDeclarator.setId(com.github.javapars…
8 …e 83) setInit(init) ==> com.github.javaparser.ast.body.VariableDeclarator.setInit(com.github.javap…
9 …) v.visit(this, arg) ==> com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javapar…
10 …93) v.visit(this, arg) ==> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javapars…
[all …]
Dcom_github_javaparser_ast_body_ConstructorDeclaration.txt2 …iers) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setModifiers(java.util.EnumSet<com…
3 …Line 68) setName(name) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setName(java.lang…
4 …iers) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setModifiers(java.util.EnumSet<com…
5 …ers) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setTypeParameters(java.util.List<co…
6 …Line 78) setName(name) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setName(java.lang…
7 …eters) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setParameters(java.util.List<com.…
8 …throws_) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setThrows(java.util.List<com.gi…
9 …1) setBody(block) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setBody(com.github.jav…
10 …iers) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setModifiers(java.util.EnumSet<com…
11 …ers) ==> com.github.javaparser.ast.body.ConstructorDeclaration.setTypeParameters(java.util.List<co…
[all …]
Dcom_github_javaparser_ast_expr_MethodCallExpr.txt1 … 51) setScope(scope) ==> com.github.javaparser.ast.expr.MethodCallExpr.setScope(com.github.javapar…
2 Line 52) setName(name) ==> com.github.javaparser.ast.expr.MethodCallExpr.setName(java.lang.String)
3 … 56) setScope(scope) ==> com.github.javaparser.ast.expr.MethodCallExpr.setScope(com.github.javapar…
4 Line 57) setName(name) ==> com.github.javaparser.ast.expr.MethodCallExpr.setName(java.lang.String)
5 …setArgs(args) ==> com.github.javaparser.ast.expr.MethodCallExpr.setArgs(java.util.List<com.github.…
6 … 63) setScope(scope) ==> com.github.javaparser.ast.expr.MethodCallExpr.setScope(com.github.javapar…
7 …rguments) ==> com.github.javaparser.ast.expr.MethodCallExpr.setTypeArguments(java.util.List<com.gi…
8 Line 65) setName(name) ==> com.github.javaparser.ast.expr.MethodCallExpr.setName(java.lang.String)
9 …setArgs(args) ==> com.github.javaparser.ast.expr.MethodCallExpr.setArgs(java.util.List<com.github.…
11 Line 76) getArgs() ==> com.github.javaparser.ast.expr.MethodCallExpr.getArgs()
[all …]
Dcom_github_javaparser_ast_expr_ObjectCreationExpr.txt1 …3) setScope(scope) ==> com.github.javaparser.ast.expr.ObjectCreationExpr.setScope(com.github.javap…
2 …e 74) setType(type) ==> com.github.javaparser.ast.expr.ObjectCreationExpr.setType(com.github.javap…
3 …tArgs(args) ==> com.github.javaparser.ast.expr.ObjectCreationExpr.setArgs(java.util.List<com.githu…
4 …2) setScope(scope) ==> com.github.javaparser.ast.expr.ObjectCreationExpr.setScope(com.github.javap…
5 …e 83) setType(type) ==> com.github.javaparser.ast.expr.ObjectCreationExpr.setType(com.github.javap…
6 …uments) ==> com.github.javaparser.ast.expr.ObjectCreationExpr.setTypeArguments(java.util.List<com.…
7 …tArgs(args) ==> com.github.javaparser.ast.expr.ObjectCreationExpr.setArgs(java.util.List<com.githu…
8 …ody) ==> com.github.javaparser.ast.expr.ObjectCreationExpr.setAnonymousClassBody(java.util.List<co…
9 …) v.visit(this, arg) ==> com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javapar…
10 …96) v.visit(this, arg) ==> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javapars…
[all …]
Dcom_github_javaparser_ast_expr_ArrayCreationExpr.txt1 …els(levels) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setLevels(java.util.List<com.gith…
2 …e 51) setType(type) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setType(com.github.javapa…
3 …zer(initializer) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setInitializer(com.github.ja…
4 …els(levels) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setLevels(java.util.List<com.gith…
5 …e 58) setType(type) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setType(com.github.javapa…
6 …zer(initializer) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setInitializer(com.github.ja…
7 …e 63) setType(type) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setType(com.github.javapa…
8 …nitializer(null) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setInitializer(com.github.ja…
9 …e 69) setType(type) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setType(com.github.javapa…
10 …nitializer(null) ==> com.github.javaparser.ast.expr.ArrayCreationExpr.setInitializer(com.github.ja…
[all …]
Dcom_github_javaparser_ast_stmt_ForeachStmt.txt1 …48) setVariable(var) ==> com.github.javaparser.ast.stmt.ForeachStmt.setVariable(com.github.javapar…
2 …etIterable(iterable) ==> com.github.javaparser.ast.stmt.ForeachStmt.setIterable(com.github.javapar…
3 …Line 50) setBody(body) ==> com.github.javaparser.ast.stmt.ForeachStmt.setBody(com.github.javaparse…
4 …57) setVariable(var) ==> com.github.javaparser.ast.stmt.ForeachStmt.setVariable(com.github.javapar…
5 …etIterable(iterable) ==> com.github.javaparser.ast.stmt.ForeachStmt.setIterable(com.github.javapar…
6 …Line 59) setBody(body) ==> com.github.javaparser.ast.stmt.ForeachStmt.setBody(com.github.javaparse…
7 …70) setVariable(var) ==> com.github.javaparser.ast.stmt.ForeachStmt.setVariable(com.github.javapar…
8 … NameExpr(iterable)) ==> com.github.javaparser.ast.stmt.ForeachStmt.setIterable(com.github.javapar…
9 …Line 72) setBody(body) ==> com.github.javaparser.ast.stmt.ForeachStmt.setBody(com.github.javaparse…
10 …) v.visit(this, arg) ==> com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javapar…
[all …]
Dcom_github_javaparser_ast_body_AnnotationMemberDeclaration.txt2 …rs) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setModifiers(java.util.EnumSet<…
3 … setType(type) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setType(com.github.j…
4 …Line 61) setName(name) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setName(java…
5 …aultValue) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setDefaultValue(com.gith…
6 …rs) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setModifiers(java.util.EnumSet<…
7 … setType(type) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setType(com.github.j…
8 …Line 70) setName(name) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setName(java…
9 …aultValue) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setDefaultValue(com.gith…
10 …rs) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setModifiers(java.util.EnumSet<…
11 … setType(type) ==> com.github.javaparser.ast.body.AnnotationMemberDeclaration.setType(com.github.j…
[all …]
Dcom_github_javaparser_ast_expr_VariableDeclarationExpr.txt2 …(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setElementType(com.github…
3 …ame))) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setVariables(java.util.List<com.…
5 …(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setElementType(com.github…
6 …(var)) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setVariables(java.util.List<com.…
8 …(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setElementType(com.github…
9 …ame))) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setVariables(java.util.List<com.…
11 …s)))) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setModifiers(java.util.EnumSet<co…
16 …(elementType) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setElementType(com.github…
17 …(var)) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setVariables(java.util.List<com.…
19 …s)))) ==> com.github.javaparser.ast.expr.VariableDeclarationExpr.setModifiers(java.util.EnumSet<co…
[all …]
Dcom_github_javaparser_ast_stmt_ForStmt.txt1 …52) setCompare(compare) ==> com.github.javaparser.ast.stmt.ForStmt.setCompare(com.github.javaparse…
2 …53) setInit(init) ==> com.github.javaparser.ast.stmt.ForStmt.setInit(java.util.List<com.github.jav…
3 …etUpdate(update) ==> com.github.javaparser.ast.stmt.ForStmt.setUpdate(java.util.List<com.github.ja…
4 …Line 55) setBody(body) ==> com.github.javaparser.ast.stmt.ForStmt.setBody(com.github.javaparser.as…
5 …62) setCompare(compare) ==> com.github.javaparser.ast.stmt.ForStmt.setCompare(com.github.javaparse…
6 …63) setInit(init) ==> com.github.javaparser.ast.stmt.ForStmt.setInit(java.util.List<com.github.jav…
7 …etUpdate(update) ==> com.github.javaparser.ast.stmt.ForStmt.setUpdate(java.util.List<com.github.ja…
8 …Line 65) setBody(body) ==> com.github.javaparser.ast.stmt.ForStmt.setBody(com.github.javaparser.as…
9 …) v.visit(this, arg) ==> com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javapar…
10 …75) v.visit(this, arg) ==> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javapars…
[all …]
Dcom_github_javaparser_ast_stmt_TryStmt.txt1 … setTryBlock(tryBlock) ==> com.github.javaparser.ast.stmt.TryStmt.setTryBlock(com.github.javaparse…
2 …etCatchs(catchs) ==> com.github.javaparser.ast.stmt.TryStmt.setCatchs(java.util.List<com.github.ja…
3 …yBlock(finallyBlock) ==> com.github.javaparser.ast.stmt.TryStmt.setFinallyBlock(com.github.javapar…
4 …ces(resources) ==> com.github.javaparser.ast.stmt.TryStmt.setResources(java.util.List<com.github.j…
5 … setTryBlock(tryBlock) ==> com.github.javaparser.ast.stmt.TryStmt.setTryBlock(com.github.javaparse…
6 …etCatchs(catchs) ==> com.github.javaparser.ast.stmt.TryStmt.setCatchs(java.util.List<com.github.ja…
7 …yBlock(finallyBlock) ==> com.github.javaparser.ast.stmt.TryStmt.setFinallyBlock(com.github.javapar…
8 …) v.visit(this, arg) ==> com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javapar…
9 …72) v.visit(this, arg) ==> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javapars…
12 …his.catchs) ==> com.github.javaparser.ast.Node.setAsParentNodeOf(java.util.List<? extends com.gith…
[all …]
/external/python/cpython2/Lib/test/
Dtest_ast.py3 import ast
183 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
185 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
198 x = ast.AST()
208 ast.AST(lineno=2)
212 ast.AST(2)
219 ast_tree = compile(i, "?", kind, ast.PyCF_ONLY_AST)
224 slc = ast.parse("x[::]").body[0].value.slice
227 self.assertIsInstance(slc.step, ast.Name)
231 im = ast.parse("from . import y").body[0]
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_visitor_CloneVisitor.txt2 [ Class com.github.javaparser.ast.visitor.CloneVisitor ]
4 interface: com.github.javaparser.ast.visitor.GenericVisitor
5 …ation package_ = cloneNodes(_n.getPackage(), _arg) ==> com.github.javaparser.ast.PackageDeclaration
6 Line 62) cloneNodes(_n.getPackage(), _arg) ==> com.github.javaparser.ast.PackageDeclaration
7 …orts = visit(_n.getImports(), _arg) ==> java.util.List<com.github.javaparser.ast.ImportDeclaration>
8 …Line 63) visit(_n.getImports(), _arg) ==> java.util.List<com.github.javaparser.ast.ImportDeclarati…
9 …ypes = visit(_n.getTypes(), _arg) ==> java.util.List<com.github.javaparser.ast.body.TypeDeclaratio…
10 …Line 64) visit(_n.getTypes(), _arg) ==> java.util.List<com.github.javaparser.ast.body.TypeDeclarat…
11 …dLine(), _n.getEndColumn(), package_, imports, types) ==> com.github.javaparser.ast.CompilationUnit
12 … visit(_n.getAnnotations(), _arg) ==> java.util.List<com.github.javaparser.ast.expr.AnnotationExpr>
[all …]
Dcom_github_javaparser_ast_visitor_ModifierVisitorAdapter.txt2 [ Class com.github.javaparser.ast.visitor.ModifierVisitorAdapter ]
4 interface: com.github.javaparser.ast.visitor.GenericVisitor
13 … annotations = n.getAnnotations() ==> java.util.List<com.github.javaparser.ast.expr.AnnotationExpr>
14 Line 135) n.getAnnotations() ==> java.util.List<com.github.javaparser.ast.expr.AnnotationExpr>
20 …tationExpr) annotations.get(i).accept(this, arg)) ==> com.github.javaparser.ast.expr.AnnotationExpr
22 …aration> members = n.getMembers() ==> java.util.List<com.github.javaparser.ast.body.BodyDeclaratio…
23 Line 142) n.getMembers() ==> java.util.List<com.github.javaparser.ast.body.BodyDeclaration>
29 …dyDeclaration) members.get(i).accept(this, arg)) ==> com.github.javaparser.ast.body.BodyDeclaration
31 Line 149) n ==> com.github.javaparser.ast.body.AnnotationDeclaration
34 … annotations = n.getAnnotations() ==> java.util.List<com.github.javaparser.ast.expr.AnnotationExpr>
[all …]
/external/tensorflow/tensorflow/contrib/py2tf/pyct/
Dast_util_test.py21 import ast
31 node = ast.Tuple([
32 ast.Name('a', ast.Load()),
33 ast.Name('b', ast.Load()),
34 ast.Attribute(ast.Name('b', None), 'c', ast.Store()),
35 ast.Attribute(
36 ast.Attribute(ast.Name('b', None), 'c', ast.Load()), 'd',
48 self.assertTrue(isinstance(node.elts[0].ctx, ast.Load))
51 self.assertTrue(isinstance(node.elts[2].ctx, ast.Store))
53 self.assertTrue(isinstance(node.elts[3].value.ctx, ast.Load))
[all …]

12345678910>>...66