Interface Metadata

  • All Known Implementing Classes:
    DefaultMetadata

    @Immutable
    @Internal
    public interface Metadata
    An interface which provides metadata for syntax nodes.

    CEL Library Internals. Do Not Use.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getLocation()
      Returns the location (like a filename) of the interpreted expression.
      int getPosition​(long exprId)
      Returns the character position of the node in the source.
    • Method Detail

      • getLocation

        java.lang.String getLocation()
        Returns the location (like a filename) of the interpreted expression.
      • getPosition

        int getPosition​(long exprId)
        Returns the character position of the node in the source. This is a 0-based character offset.