Class: Jade::Parsing::FunctionCallPostfix

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



16
17
18
# File 'lib/jade/parsing.rb', line 16

def args
  @args
end

#lparenObject (readonly)

Returns the value of attribute lparen

Returns:

  • (Object)

    the current value of lparen



16
17
18
# File 'lib/jade/parsing.rb', line 16

def lparen
  @lparen
end

#rparenObject (readonly)

Returns the value of attribute rparen

Returns:

  • (Object)

    the current value of rparen



16
17
18
# File 'lib/jade/parsing.rb', line 16

def rparen
  @rparen
end

Instance Method Details

#apply(node) ⇒ Object



17
18
19
# File 'lib/jade/parsing.rb', line 17

def apply(node)
  AST.function_call.call(node, lparen, args, rparen)
end