Class Path


  • public class Path
    extends Field
    Represents a path segment composed of nodes.
    Author:
    Matt Nathan
    • Constructor Detail

      • Path

        public Path​(Node prefix,
                    Field suffix)
    • Method Detail

      • getPrefix

        public Node getPrefix()
      • getSuffix

        public Field getSuffix()
      • apply

        public void apply​(AstVisitor visitor)
        Description copied from class: AstNode
        Apply the given visitor over the tree represented by this node.
        Specified by:
        apply in class AstNode