Home
last modified time | relevance | path

Searched refs:parseBlock (Results 1 – 25 of 35) sorted by relevance

12

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/expr/
DLambdaExprTest.java10 import static com.github.javaparser.StaticJavaParser.parseBlock;
54 …LambdaExpr expr = new LambdaExpr(new Parameter(new UnknownType(), "a"), parseBlock("{return 5;}")); in oneParameterAndStatementUtilityConstructor()
66 …ameter(new UnknownType(), "a"), new Parameter(new UnknownType(), "b")), parseBlock("{return 5;}")); in multipleParametersAndStatementUtilityConstructor()
72 LambdaExpr expr = new LambdaExpr(new NodeList<>(), parseBlock("{return 5;}")); in zeroParametersAndStatementUtilityConstructor()
/external/clang/lib/Format/
DUnwrappedLineParser.cpp287 parseBlock(/*MustBeDeclaration=*/false); in parseLevel()
412 void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel, in parseBlock() function in clang::format::UnwrappedLineParser
785 parseBlock(/*MustBeDeclaration=*/false); in parseStructuralElement()
863 parseBlock(/*MustBeDeclaration=*/true, /*AddLevel=*/false); in parseStructuralElement()
881 parseBlock(/*MustBeDeclaration=*/false, /*AddLevel=*/true, in parseStructuralElement()
1009 parseBlock(/*MustBeDeclaration=*/false); in parseStructuralElement()
1428 parseBlock(/*MustBeDeclaration=*/false); in parseIfThenElse()
1443 parseBlock(/*MustBeDeclaration=*/false); in parseIfThenElse()
1481 parseBlock(/*MustBeDeclaration=*/false); in parseTryCatch()
1519 parseBlock(/*MustBeDeclaration=*/false); in parseTryCatch()
[all …]
DUnwrappedLineParser.h74 void parseBlock(bool MustBeDeclaration, bool AddLevel = true,
/external/llvm-project/clang/lib/Format/
DUnwrappedLineParser.cpp388 parseBlock(/*MustBeDeclaration=*/false); in parseLevel()
582 void UnwrappedLineParser::parseBlock(bool MustBeDeclaration, bool AddLevel, in parseBlock() function in clang::format::UnwrappedLineParser
1128 parseBlock(/*MustBeDeclaration=*/true, in parseStructuralElement()
1131 parseBlock(/*MustBeDeclaration=*/true, in parseStructuralElement()
1162 parseBlock(/*MustBeDeclaration=*/false, /*AddLevel=*/true, in parseStructuralElement()
1247 parseBlock(/*MustBeDeclaration=*/false); in parseStructuralElement()
1260 parseBlock(/*MustBeDeclaration=*/false); in parseStructuralElement()
1365 parseBlock(/*MustBeDeclaration=*/false); in parseStructuralElement()
1575 parseBlock(/*MustBeDeclaration=*/true); in tryToParsePropertyAccessor()
1990 parseBlock(/*MustBeDeclaration=*/false); in parseIfThenElse()
[all …]
DUnwrappedLineParser.h88 void parseBlock(bool MustBeDeclaration, bool AddLevel = true,
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DStaticJavaParser.java239 public static BlockStmt parseBlock(final String blockStatement) { in parseBlock() method in StaticJavaParser
240 return handleResult(newParser().parseBlock(blockStatement)); in parseBlock()
/external/javassist/src/main/javassist/compiler/
DParser.java172 body = parseBlock(tbl); in parseMethod2()
261 return parseBlock(tbl); in parseStatement()
300 private Stmnt parseBlock(SymbolTable tbl) throws CompileError { in parseBlock() method in Parser
479 Stmnt body = parseBlock(tbl); in parseSynchronized()
490 Stmnt block = parseBlock(tbl); in parseTry()
505 Stmnt b = parseBlock(tbl2); in parseTry()
512 finallyBlock = parseBlock(tbl); in parseTry()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/
DBitcodeAnalyzer.h94 Error parseBlock(unsigned BlockID, unsigned IndentLevel,
/external/llvm-project/llvm/include/llvm/Bitcode/
DBitcodeAnalyzer.h94 Error parseBlock(unsigned BlockID, unsigned IndentLevel,
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DPrettyPrintingSteps.java69 resultNode = parseBlock(sourceUnderTest); in whenTheBlockIsParsedByTheJavaParser()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DTransformationsTest.java160 BlockStmt blockStmt = LexicalPreservingPrinter.setup(StaticJavaParser.parseBlock("{" + EOL + in issue2099AddingStatementAfterTraillingComment1()
184 BlockStmt blockStmt = LexicalPreservingPrinter.setup(StaticJavaParser.parseBlock("{" + EOL + in issue2099AddingStatementAfterTraillingComment2()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttDecoder.java77 definedStyles.addAll(cssParser.parseBlock(parsableWebvttData)); in decode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DBitstreamRemarkParser.cpp158 static Error parseBlock(T &ParserHelper, unsigned BlockID, in parseBlock() function
202 return parseBlock(*this, META_BLOCK_ID, "META_BLOCK"); in parse()
206 return parseBlock(*this, REMARK_BLOCK_ID, "REMARK_BLOCK"); in parse()
/external/doclava/src/com/google/doclava/
DComment.java105 parseBlock(text, start, length); in parseCommentTags()
108 parseBlock(text, start, findEndOfMainOrBlock(text, start, end)); in parseCommentTags()
287 private void parseBlock(String text, int startOfBlock, int endOfBlock) { in parseBlock() method in Comment
/external/llvm-project/llvm/lib/Remarks/
DBitstreamRemarkParser.cpp157 static Error parseBlock(T &ParserHelper, unsigned BlockID, in parseBlock() function
201 return parseBlock(*this, META_BLOCK_ID, "META_BLOCK"); in parse()
205 return parseBlock(*this, REMARK_BLOCK_ID, "REMARK_BLOCK"); in parse()
/external/llvm-project/mlir/examples/toy/Ch4/include/toy/
DParser.h348 std::unique_ptr<ExprASTList> parseBlock() { in parseBlock() function
448 if (auto block = parseBlock()) in parseDefinition()
/external/llvm-project/mlir/examples/toy/Ch2/include/toy/
DParser.h348 std::unique_ptr<ExprASTList> parseBlock() { in parseBlock() function
448 if (auto block = parseBlock()) in parseDefinition()
/external/llvm-project/mlir/examples/toy/Ch5/include/toy/
DParser.h348 std::unique_ptr<ExprASTList> parseBlock() { in parseBlock() function
448 if (auto block = parseBlock()) in parseDefinition()
/external/llvm-project/mlir/examples/toy/Ch6/include/toy/
DParser.h348 std::unique_ptr<ExprASTList> parseBlock() { in parseBlock() function
448 if (auto block = parseBlock()) in parseDefinition()
/external/llvm-project/mlir/examples/toy/Ch1/include/toy/
DParser.h348 std::unique_ptr<ExprASTList> parseBlock() { in parseBlock() function
448 if (auto block = parseBlock()) in parseDefinition()
/external/llvm-project/mlir/examples/toy/Ch3/include/toy/
DParser.h348 std::unique_ptr<ExprASTList> parseBlock() { in parseBlock() function
448 if (auto block = parseBlock()) in parseDefinition()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
DJavaParser.java223 public static BlockStmt parseBlock(final String blockStatement) { in parseBlock() method in JavaParser
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DJavaParserTest.java251 assertThrows(ParseProblemException.class, () -> parseBlock("{} efijqoifjqefj")); in trailingCodeIsAnError()
256 BlockStmt blockStmt = parseBlock("{} // hello"); in trailingWhitespaceIsIgnored()
/external/llvm-project/mlir/examples/toy/Ch7/include/toy/
DParser.h480 std::unique_ptr<ExprASTList> parseBlock() { in parseBlock() function
603 if (auto block = parseBlock()) in parseDefinition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeAnalyzer.cpp605 if (Error E = parseBlock(MaybeBlockID.get(), 0, O, CheckHash)) in analyze()
724 Error BitcodeAnalyzer::parseBlock(unsigned BlockID, unsigned IndentLevel, in parseBlock() function in BitcodeAnalyzer
814 if (Error E = parseBlock(Entry.ID, IndentLevel + 1, O, CheckHash)) in parseBlock()

12