Need fast src position from parse node #18

Open
opened 2025-10-06 15:18:47 +01:00 by apb · 1 comment
Owner

Maybe add @start @end attributes to XML

doc("C:\Users\mrwhe\git\quodatum\basex-lsp\test\sample.docs\parse-pdfbox.xml")
update {
  for $n in//*
  return insert node attribute s {7} into $n
}

See also https://github.com/nverwer/SMAX

Maybe add `@start` `@end` attributes to XML ```xquery doc("C:\Users\mrwhe\git\quodatum\basex-lsp\test\sample.docs\parse-pdfbox.xml") update { for $n in//* return insert node attribute s {7} into $n } ``` See also https://github.com/nverwer/SMAX
Author
Owner

REx java

Atts atts = new Atts();
        atts.add(Token.token("b"), Token.token(pe.getBegin() + 1))

REx java ``` Atts atts = new Atts(); atts.add(Token.token("b"), Token.token(pe.getBegin() + 1)) ``` * https://javadoc.io/doc/org.basex/basex/latest/org/basex/build/MemBuilder.html
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: quodatum/basex-lsp#18
No description provided.