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

Method attach

basex-core/src/main/java/org/basex/query/QueryPlan.java:177–183  ·  view source on GitHub ↗

Attaches input information to the specified element. @param elem element to which attributes will be added @param info input info (can be null)

(final FBuilder elem, final InputInfo info)

Source from the content-addressed store, hash-verified

175 * @param info input info (can be {@code null})
176 */
177 private void attach(final FBuilder elem, final InputInfo info) {
178 if(full) {
179 addAttribute(elem, LINE, info.line());
180 addAttribute(elem, COLUMN, info.column());
181 addAttribute(elem, PATH, info.path());
182 }
183 }
184}

Callers 1

createMethod · 0.95

Calls 4

addAttributeMethod · 0.95
lineMethod · 0.45
columnMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected