/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ |
JavaParserTest.java | 227 ForStmt forStmt = JavaParser.parseStatement("for(int a,b=0;;){}").asForStmt(); 228 assertEquals(1, forStmt.getInitialization().size()); 229 assertEquals(true, forStmt.getInitialization().get(0).isVariableDeclarationExpr()); 230 assertEquals(2, forStmt.getInitialization().get(0).asVariableDeclarationExpr().getVariables().size()); 231 assertEquals("a", forStmt.getInitialization().get(0).asVariableDeclarationExpr().getVariables().get(0).getNameAsString()); 232 assertEquals("b", forStmt.getInitialization().get(0).asVariableDeclarationExpr().getVariables().get(1).getNameAsString()); 233 assertEquals(false, forStmt.getInitialization().get(0).asVariableDeclarationExpr().getVariables().get(0).getInitializer().isPresent()); 234 assertEquals(true, forStmt.getInitialization().get(0).asVariableDeclarationExpr().getVariables().get(1).getInitializer().isPresent()); 240 ForStmt forStmt = JavaParser.parseStatement("for(int i, j = array2.length - 1;;){}").asForStmt() [all...] |
/external/clang/unittests/ASTMatchers/ |
ASTMatchersTraversalTest.cpp | [all...] |
ASTMatchersNodeTest.cpp | 831 EXPECT_TRUE(matches("void f() { for(;;); }", forStmt())); 832 EXPECT_TRUE(matches("void f() { if(true) for(;;); }", forStmt())); 835 forStmt())); 839 EXPECT_TRUE(notMatches("void f() { ; }", forStmt())); 840 EXPECT_TRUE(notMatches("void f() { if(true); }", forStmt())); [all...] |
ASTMatchersNarrowingTest.cpp | 277 forEach(fieldDecl(hasAncestor(forStmt())))); [all...] |
/prebuilts/go/darwin-x86/src/cmd/vet/ |
rangeloop.go | 30 rangeStmt, forStmt) 50 case *ast.ForStmt:
|
main.go | 145 forStmt *ast.ForStmt 593 case *ast.ForStmt: 594 key = forStmt
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
rangeloop.go | 30 rangeStmt, forStmt) 50 case *ast.ForStmt:
|
main.go | 145 forStmt *ast.ForStmt 593 case *ast.ForStmt: 594 key = forStmt
|
/prebuilts/go/darwin-x86/src/cmd/vet/internal/cfg/ |
builder.go | 147 case *ast.ForStmt: 148 b.forStmt(s, label) 342 func (b *builder) forStmt(s *ast.ForStmt, label *lblock) {
|
/prebuilts/go/linux-x86/src/cmd/vet/internal/cfg/ |
builder.go | 147 case *ast.ForStmt: 148 b.forStmt(s, label) 342 func (b *builder) forStmt(s *ast.ForStmt, label *lblock) {
|
/external/clang/lib/ASTMatchers/Dynamic/ |
Registry.cpp | 189 REGISTER_MATCHER(forStmt);
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/ |
parser.go | [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/ |
parser.go | [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
noder.go | 912 case *syntax.ForStmt: 913 return p.forStmt(stmt) 1011 func (p *noder) forStmt(stmt *syntax.ForStmt) *Node { [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
noder.go | 912 case *syntax.ForStmt: 913 return p.forStmt(stmt) 1011 func (p *noder) forStmt(stmt *syntax.ForStmt) *Node { [all...] |
/external/clang/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/clang/ASTMatchers/ |
ASTMatchers.h | [all...] |