Class: ANTLR3::AST::Wizard::WildcardPattern

Inherits:
Pattern show all
Defined in:
lib/antlr3/tree/wizard.rb

Overview

A simple tree node used to represent the operation “match any tree node type” in a tree pattern. They are represented by '.' in tree pattern specifications.

Instance Attribute Summary

Attributes inherited from Pattern

#has_text_arg, #label

Attributes inherited from BaseTree

#parent

Attributes included from Tree

#child_index, #column, #line, #start_index, #stop_index, #text, #token, #type

Method Summary

Methods inherited from Pattern

#initialize, parse, #to_s

Methods inherited from CommonTree

#column, #copy_node, #flat_list?, #infer_boundaries, #initialize, #initialize_copy, #line, #name, #pretty_print, #source_range, #start_index, #stop_index, #text, #to_s, #token_range, #type, #unknown_boundaries?

Methods inherited from BaseTree

#add_child, #children, #delete_child, #detach, #first_with_type, #flat_list?, #freshen, #initialize, #inspect, #prune, #replace_children, #root?, #sanity_check, #set_child, #walk

Methods included from Tree

#ancestors, #depth, #each_ancestor, #has_child?, #leaf?, #root, #root?, #siblings, #walk

Methods inherited from Array

#pad, #pad!

Constructor Details

This class inherits a constructor from ANTLR3::AST::Wizard::Pattern