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.
33 34 35 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 33 def code_block_open @code_block_open end |
#continue ⇒ Object
Returns the value of attribute continue.
36 37 38 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 36 def continue @continue end |
#exp_line_no ⇒ Object
Returns the value of attribute exp_line_no.
31 32 33 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 31 def exp_line_no @exp_line_no end |
#indent ⇒ Object
Returns the value of attribute indent.
29 30 31 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 29 def indent @indent end |
#line ⇒ Object
Returns the value of attribute line.
35 36 37 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 35 def line @line end |
#line_no ⇒ Object
Returns the value of attribute line_no.
30 31 32 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 30 def line_no @line_no end |
#ltype ⇒ Object
Returns the value of attribute ltype.
34 35 36 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 34 def ltype @ltype end |
#tokens ⇒ Object
Returns the value of attribute tokens.
32 33 34 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 32 def tokens @tokens end |
Instance Method Details
#reinitialize ⇒ Object
38 39 40 41 42 |
# File 'lib/openc3/utilities/ruby_lex_utils.rb', line 38 def reinitialize @line_no = 1 @prompt = nil initialize_input() end |