Class: Abstract (Umu::Lexical::Lexer)

Overview
Module Structure
Class Hierarchy
Class Methods
Abstract.deconstruct_keys
Instance Attributes
Abstract#loc [R]
Abstract#braket_stack [R]
Instance Methods
Abstract#initialize / 2
Abstract#to_s
Abstract#comment_depth
Abstract#braket_depth
Abstract#in_comment?
Abstract#in_braket?
Abstract#between_braket?
Abstract#next_line_num / 1
Abstract#recover
Abstract#lex / 1
Abstract#__make_separator__ / 2
Abstract#__make_comment__ / 5
Abstract#__make_token__ / 2
Abstract#__make_string__ / 3
Abstract#__make_symbolized_string__ / 3
is a submodule of
module: Lexer ( Umu::Lexical )
has modular siblings
class: Separator   
class: Comment   
class: Token   
module: String   
inherits from
  Record ( Umu::Abstraction )
is inherited by
  Separator ( Umu::Lexical::Lexer )
  Comment ( Umu::Lexical::Lexer )
  Token ( Umu::Lexical::Lexer )
  Abstract ( Umu::Lexical::Lexer::String )
has class siblings
  Preference ( Umu::Environment )
  Entry ( Umu::Environment )
  Entry ( Umu::Location )
has properties
attribute: loc [R]   
attribute: braket_stack [R]   
class method: deconstruct_keys   
method: initialize / 2   
method: to_s   
method: comment_depth   
method: braket_depth   
method: in_comment?   
method: in_braket?   
method: between_braket?   
method: next_line_num / 1   
method: recover   
method: lex / 1   
method: __make_separator__ / 2   
method: __make_comment__ / 5   
method: __make_token__ / 2   
method: __make_string__ / 3   
method: __make_symbolized_string__ / 3   
is defined at
#12 in lexical/lexer/abstract.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: Umu
  module: Lexical
  module: Lexer
✗ class: Abstract
  class: Separator
  class: Comment
  class: Token
  module: String
class: Abstract     
  module: Environment
class: Preference     
class: Entry     
  module: Abstraction
class: Record     
  module: Location
class: Entry     

Class Hierarchy

Object ( Builtin-Module )
Record ( Umu::Abstraction )
has properties
class method: __deconstruct_keys__   
method: deconstruct_keys   
method: update / 1   
Abstract ( Umu::Lexical::Lexer )
has properties
attribute: loc [R]   
attribute: braket_stack [R]   
class method: deconstruct_keys   
method: initialize / 2   
method: to_s   
method: comment_depth   
method: braket_depth   
method: in_comment?   
method: in_braket?   
method: between_braket?   
method: next_line_num / 1   
method: recover   
method: lex / 1   
method: __make_separator__ / 2   
method: __make_comment__ / 5   
method: __make_token__ / 2   
method: __make_string__ / 3   
method: __make_symbolized_string__ / 3   
  Separator     
  Comment     
  Token     
  Abstract ( Umu::Lexical::Lexer::String )   
Preference ( Umu::Environment )
Entry ( Umu::Environment )
Entry ( Umu::Location )

Class Methods

Abstract.deconstruct_keys

#17 in lexical/lexer/abstract.rb

deconstruct_keys

Instance Attributes

Abstract#loc [R]

#13 in lexical/lexer/abstract.rb

Abstract#braket_stack [R]

#14 in lexical/lexer/abstract.rb

Instance Methods

Abstract#initialize / 2

#25 in lexical/lexer/abstract.rb

initialize ( loc ,
  braket_stack )

Abstract#to_s

#34 in lexical/lexer/abstract.rb

to_s

Abstract#comment_depth

#43 in lexical/lexer/abstract.rb

comment_depth

Abstract#braket_depth

#48 in lexical/lexer/abstract.rb

braket_depth

Abstract#in_comment?

#53 in lexical/lexer/abstract.rb

in_comment?

Abstract#in_braket?

#58 in lexical/lexer/abstract.rb

in_braket?

Abstract#between_braket?

#63 in lexical/lexer/abstract.rb

between_braket?

Abstract#next_line_num / 1

#74 in lexical/lexer/abstract.rb

next_line_num ( n = 1 )

Abstract#recover

#81 in lexical/lexer/abstract.rb

recover

Abstract#lex / 1

#86 in lexical/lexer/abstract.rb

lex ( scanner )

Abstract#__make_separator__ / 2

#93 in lexical/lexer/abstract.rb

__make_separator__ ( loc = self.loc ,
  braket_stack = self.braket_stack )

Abstract#__make_comment__ / 5

#105 in lexical/lexer/abstract.rb

__make_comment__ ( saved_loc ,
  comment_depth ,
  buf ,
  loc = self.loc ,
  braket_stack = self.braket_stack )

Abstract#__make_token__ / 2

#123 in lexical/lexer/abstract.rb

__make_token__ ( loc = self.loc ,
  braket_stack = self.braket_stack )

Abstract#__make_string__ / 3

#135 in lexical/lexer/abstract.rb

__make_string__ ( buf ,
  loc = self.loc ,
  braket_stack = self.braket_stack )

Abstract#__make_symbolized_string__ / 3

#149 in lexical/lexer/abstract.rb

__make_symbolized_string__ ( buf ,
  loc = self.loc ,
  braket_stack = self.braket_stack )