Skip to content

[xpath] Custom XPath attributes for ANTLR based languages #4338

@adangel

Description

@adangel

Is your feature request related to a problem? Please describe.
Attributes are also something we implement manually, in javacc languages. Antlr does not let us replace or add members to the classes it generates. The recommended way to use antlr is in fact to build (manually) another AST on top of the parse tree. In those AST classes, we could write and expose our own attributes.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    an:enhancementAn improvement on existing features / rulesin:xpathRelating to xpath support at large, eg Jaxen / Saxon, custom functions, attribute resolution

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions