Class: Rubycc::Front::AST::VaStart

Inherits:
Data
  • Object
show all
Defined in:
lib/rubycc/front/ast.rb

Overview

"__builtin_va_start ( ap , last )" (the initializer of a variable argument list). ap is the va_list expression to initialize; last_name is the identifier String naming the function's last fixed parameter, which ISO C requires so the variable part can be located just past it. token is the builtin keyword, locating every diagnostic (a fixed-arity enclosing function, a wrong last-parameter name, a bad ap type). The expression's value is void — it is only ever an expression-statement.

Instance Attribute Summary collapse

Instance Attribute Details

#apObject (readonly)

Returns the value of attribute ap

Returns:

  • (Object)

    the current value of ap



330
331
332
# File 'lib/rubycc/front/ast.rb', line 330

def ap
  @ap
end

#last_nameObject (readonly)

Returns the value of attribute last_name

Returns:

  • (Object)

    the current value of last_name



330
331
332
# File 'lib/rubycc/front/ast.rb', line 330

def last_name
  @last_name
end

#tokenObject (readonly)

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



330
331
332
# File 'lib/rubycc/front/ast.rb', line 330

def token
  @token
end