MCPcopy Create free account
hub / github.com/antlr/codebuff / build

Method build

output/java_guava/1.4.16/Escapers.java:167–176  ·  view source on GitHub ↗

Returns a new escaper based on the current state of the builder.

()

Source from the content-addressed store, hash-verified

165
166
167 public Escaper build() {
168 return new ArrayBasedCharEscaper(replacementMap, safeMin, safeMax) {
169 private final char[] replacementChars = unsafeReplacement != null ? unsafeReplacement.toCharArray() : null;
170
171 @Override
172 protected char[] escapeUnsafe(char c) {
173 return replacementChars;
174 }
175 };
176 }
177 }
178
179 /**

Callers 15

indexMapMethod · 0.95
SparseImmutableTableMethod · 0.95
createMethod · 0.95
createMethod · 0.95
getNodeConnectionsMethod · 0.45
uniqueIndexMethod · 0.45
fromPropertiesMethod · 0.45
HtmlEscapersClass · 0.45
rootsMethod · 0.45
getNodeConnectionsMethod · 0.45
createAdjacencyMapMethod · 0.45

Calls 1

toCharArrayMethod · 0.45

Tested by

no test coverage detected