Home
last modified time | relevance | path

Searched refs:parseStart (Results 1 – 6 of 6) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/
DAbstractNameLogicTest.java17 protected Node getNameInCodeTollerant(String code, String name, ParseStart parseStart) { in getNameInCodeTollerant() argument
18 return getNameInCode(code, name, parseStart, true, Optional.empty()); in getNameInCodeTollerant()
21 …protected Node getNameInCodeTollerant(String code, String name, ParseStart parseStart, TypeSolver … in getNameInCodeTollerant() argument
22 return getNameInCode(code, name, parseStart, true, Optional.of(typeSolver)); in getNameInCodeTollerant()
25 protected Node getNameInCode(String code, String name, ParseStart parseStart) { in getNameInCode() argument
26 return getNameInCode(code, name, parseStart, false, Optional.empty()); in getNameInCode()
29 protected <N extends Node> N parse(String code, ParseStart<N> parseStart) { in parse() argument
30 return parse(code, parseStart, Optional.empty()); in parse()
33 …protected <N extends Node> N parse(String code, ParseStart<N> parseStart, Optional<TypeSolver> typ… in parse() argument
39 …ParseResult<N> parseResult = new JavaParser(parserConfiguration).parse(parseStart, new StringProvi… in parse()
[all …]
DNameLogicTest.java23 …InCodeIsSyntactically(String code, String name, NameCategory nameCategory, ParseStart parseStart) { in assertNameInCodeIsSyntactically() argument
24 Node nameNode = getNameInCode(code, name, parseStart); in assertNameInCodeIsSyntactically()
374 … void assertNameInCodeHasRole(String code, String name, NameRole nameRole, ParseStart parseStart) { in assertNameInCodeHasRole() argument
375 Node nameNode = getNameInCode(code, name, parseStart); in assertNameInCodeHasRole()
379 private void assertIsSimpleName(String code, String name, ParseStart parseStart) { in assertIsSimpleName() argument
380 Node nameNode = getNameInCode(code, name, parseStart); in assertIsSimpleName()
384 private void assertIsQualifiedName(String code, String name, ParseStart parseStart) { in assertIsQualifiedName() argument
385 Node nameNode = getNameInCode(code, name, parseStart); in assertIsQualifiedName()
DNameLogicDisambiguationTest.java27 ParseStart parseStart, TypeSolver typeSolver) { in assertNameInCodeIsDisambiguited() argument
28 Node nameNode = getNameInCodeTollerant(code, name, parseStart, typeSolver); in assertNameInCodeIsDisambiguited()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpFormatGen.cpp329 unsigned anchor, unsigned parseStart) in OptionalElement() argument
331 parseStart(parseStart) {}
343 unsigned getParseStart() const { return parseStart; } in getParseStart()
351 unsigned parseStart; member in __anon81548fc80711::OptionalElement
2673 auto parseStart = parseBegin - elements.begin(); in parseOptional() local
2675 parseStart); in parseOptional()
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp3045 int32_t parseStart = pos.getIndex(); in subParse() local
3054 … if (args != NULL && argCount == 1 && pos.getIndex() > parseStart && args[0].isNumeric()) { in subParse()
3060 pos.setIndex(parseStart); in subParse()
3082 if (txtLoc > parseStart) { in subParse()
3748 int32_t parseStart = pos.getIndex(); in subParse() local
3760 if (pos.getIndex() != parseStart) { in subParse()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DContextTest.java585 private <PS extends Node> PS parse(String code, ParseStart<PS> parseStart) { in parse() argument
588 …ParseResult<PS> parseResult = new JavaParser(parserConfiguration).parse(parseStart, new StringProv… in parse()