Class: Piggly::Parser::Nodes::Assignment

Inherits:
Statement show all
Defined in:
lib/piggly/parser/nodes.rb

Overview

lval := rval

Instance Attribute Summary

Attributes inherited from NodeClass

#source_text

Instance Method Summary collapse

Methods inherited from Statement

#statement?, #terminal?

Methods inherited from NodeClass

#block?, #branch?, #comment?, #datatype?, #else?, #expression?, #for?, #identifier?, #if?, #indent, #keyword?, #label?, #loop?, #named?, #sql?, #statement?, #string?, #stub?, #style, #tag, #tag_id, #tagged?, #token?, #while?, #whitespace?

Methods included from Traversal

#count, #find, #flatten, #inject, #select

Instance Method Details

#assignment?Boolean

Returns:



244
245
246
# File 'lib/piggly/parser/nodes.rb', line 244

def assignment?
  true
end