Class ComplexNodePattern.IntegerAnnotationPattern

    • Constructor Detail

      • IntegerAnnotationPattern

        public IntegerAnnotationPattern​(int v)
    • Method Detail

      • match

        public boolean match​(Integer node)
        Description copied from class: NodePattern
        Returns true if the input node matches this pattern
        Specified by:
        match in class NodePattern<Integer>
        Parameters:
        node - - node to match
        Returns:
        true if the node matches the pattern, false otherwise
      • getValue

        public int getValue()