MCPcopy Create free account
hub / github.com/BaseXdb/basex / quote

Method quote

basex-core/src/main/java/org/basex/util/InputParser.java:105–107  ·  view source on GitHub ↗

Checks if the specified character is a quote. @param cp character to be checked @return result

(final int cp)

Source from the content-addressed store, hash-verified

103 * @return result
104 */
105 protected static boolean quote(final int cp) {
106 return cp == '"' || cp == '\'';
107 }
108
109 /**
110 * Peeks forward and consumes the string if it equals the specified one.

Callers 6

literalMethod · 0.45
stringLiteralMethod · 0.45
dirElementMethod · 0.45
functionTestMethod · 0.45
piTestMethod · 0.45
ftPrimaryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected