Class: Pegarus::UnaryOp
Instance Attribute Summary collapse
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Instance Method Summary collapse
-
#initialize(pattern) ⇒ UnaryOp
constructor
A new instance of UnaryOp.
Methods inherited from Pattern
#*, #+, #+@, #-, #-@, #/, engine, #graph, #match, select_engine, #visit
Constructor Details
Instance Attribute Details
#pattern ⇒ Object
Returns the value of attribute pattern.
112 113 114 |
# File 'lib/pegarus/ast/pattern.rb', line 112 def pattern @pattern end |