Class: Gemite::AST::IfStmt

Inherits:
Struct
  • Object
show all
Defined in:
lib/gemite/ast.rb

Overview

branches: [[cond_ast, [stmt,...]], ...]

Instance Attribute Summary collapse

Instance Attribute Details

#branchesObject

Returns the value of attribute branches

Returns:

  • (Object)

    the current value of branches



30
31
32
# File 'lib/gemite/ast.rb', line 30

def branches
  @branches
end

#else_bodyObject

Returns the value of attribute else_body

Returns:

  • (Object)

    the current value of else_body



30
31
32
# File 'lib/gemite/ast.rb', line 30

def else_body
  @else_body
end