Class: Jade::Parsing::MemberAccessPostfix

Inherits:
Data
  • Object
show all
Defined in:
lib/jade/parsing.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dotObject (readonly)

Returns the value of attribute dot

Returns:

  • (Object)

    the current value of dot



28
29
30
# File 'lib/jade/parsing.rb', line 28

def dot
  @dot
end

#identifierObject (readonly)

Returns the value of attribute identifier

Returns:

  • (Object)

    the current value of identifier



28
29
30
# File 'lib/jade/parsing.rb', line 28

def identifier
  @identifier
end

Instance Method Details

#apply(node) ⇒ Object



29
30
31
# File 'lib/jade/parsing.rb', line 29

def apply(node)
  AST.member_access.call(node, dot, identifier)
end