Skip to content

Absolute start and end position of a tag #303

@Markus8000

Description

@Markus8000

Hello,
I was wondering if we could enhance the parser for the recognition of the absolute position if a statement expands over several lines.

A example could be found here: http://ramkulkarni.com/blog/capturing-absolute-offsets-for-javaccjjtree-tokens/

This involves changes to the following items (not final):

  • jjt file
  • New class BaseToken
  • Move class SimpleCharStream to the main/src/java folder
  • Adjust interfaces like Expression, Select, Update, LongValue, etc.

The main driver behind this idea is to write a parser that acts as online validator and is able to visually simplify demanding queries.

Please let me know what your 2 cents are.

Kind Regards,
Markus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions