Class: Piggly::Parser::Nodes::TString

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

Instance Attribute Summary

Attributes inherited from NodeClass

#source_text

Instance Method Summary collapse

Methods inherited from Token

#token?

Methods inherited from Terminal

#initialize, #terminal?

Methods inherited from NodeClass

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

Methods included from Traversal

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

Constructor Details

This class inherits a constructor from Piggly::Parser::Nodes::Terminal

Instance Method Details

#string?Boolean

Returns:



336
337
338
# File 'lib/piggly/parser/nodes.rb', line 336

def string?
  true
end

#styleObject



335
# File 'lib/piggly/parser/nodes.rb', line 335

def style; "tS"; end