Class: Brainfuck::Compiler::Print

Inherits:
Struct
  • Object
show all
Defined in:
lib/brainfuck/compiler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#asmObject

Returns the value of attribute asm

Returns:

  • (Object)

    the current value of asm



66
67
68
# File 'lib/brainfuck/compiler.rb', line 66

def asm
  @asm
end

#astObject

Returns the value of attribute ast

Returns:

  • (Object)

    the current value of ast



66
67
68
# File 'lib/brainfuck/compiler.rb', line 66

def ast
  @ast
end

#sexpObject

Returns the value of attribute sexp

Returns:

  • (Object)

    the current value of sexp



66
67
68
# File 'lib/brainfuck/compiler.rb', line 66

def sexp
  @sexp
end

Instance Method Details

#asm?Boolean

Returns:

  • (Boolean)


75
76
77
# File 'lib/brainfuck/compiler.rb', line 75

def asm?
  @asm
end

#ast?Boolean

Returns:

  • (Boolean)


71
72
73
# File 'lib/brainfuck/compiler.rb', line 71

def ast?
  @ast
end

#sexp?Boolean

Returns:

  • (Boolean)


67
68
69
# File 'lib/brainfuck/compiler.rb', line 67

def sexp?
  @sexp
end