class Rucc::Macro
Attributes
body[R]
fn[R]
is_varg[R]
kind[R]
nargs[R]
Public Class Methods
new(kind, body: nil, nargs: nil, is_varg: nil, fn: nil )
click to toggle source
@param [M] kind @param [<Token>] body @param [Integer] nargs @param [Boolean] is_varg
@param [Proc] fn used only for special macro
# File lib/rucc/macro.rb, line 10 def initialize(kind, body: nil, nargs: nil, is_varg: nil, fn: nil ) @kind = kind @body = body @nargs = nargs @is_varg = is_varg @fn = fn end