Class: RubyLex
Instance Attribute Summary collapse
-
#code_block_open ⇒ Object
Returns the value of attribute code_block_open.
-
#continue ⇒ Object
Returns the value of attribute continue.
-
#exp_line_no ⇒ Object
Returns the value of attribute exp_line_no.
-
#indent ⇒ Object
Returns the value of attribute indent.
-
#line ⇒ Object
Returns the value of attribute line.
-
#line_no ⇒ Object
Returns the value of attribute line_no.
-
#ltype ⇒ Object
Returns the value of attribute ltype.
-
#tokens ⇒ Object
Returns the value of attribute tokens.
Instance Method Summary collapse
Instance Attribute Details
#code_block_open ⇒ Object
Returns the value of attribute code_block_open.
34 35 36 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 34 def code_block_open @code_block_open end |
#continue ⇒ Object
Returns the value of attribute continue.
37 38 39 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 37 def continue @continue end |
#exp_line_no ⇒ Object
Returns the value of attribute exp_line_no.
32 33 34 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 32 def exp_line_no @exp_line_no end |
#indent ⇒ Object
Returns the value of attribute indent.
30 31 32 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 30 def indent @indent end |
#line ⇒ Object
Returns the value of attribute line.
36 37 38 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 36 def line @line end |
#line_no ⇒ Object
Returns the value of attribute line_no.
31 32 33 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 31 def line_no @line_no end |
#ltype ⇒ Object
Returns the value of attribute ltype.
35 36 37 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 35 def ltype @ltype end |
#tokens ⇒ Object
Returns the value of attribute tokens.
33 34 35 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 33 def tokens @tokens end |
Instance Method Details
#reinitialize ⇒ Object
39 40 41 42 43 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 39 def reinitialize @line_no = 1 @prompt = nil initialize_input() end |