Class: RubyLexer::NestedContexts::BlockContext

Inherits:
NestedContext show all
Defined in:
lib/rubylexer/context.rb

Instance Attribute Summary collapse

Attributes inherited from NestedContext

#ender, #linenum, #starter

Instance Method Summary collapse

Methods inherited from NestedContext

#lhs, #lhs=, #matches?, #see, #wantarrow

Constructor Details

#initialize(linenum) ⇒ BlockContext

Returns a new instance of BlockContext.



80
81
82
# File 'lib/rubylexer/context.rb', line 80

def initialize(linenum)
  super('{','}',linenum)
end

Instance Attribute Details

#wanting_stabby_block_bodyObject

Returns the value of attribute wanting_stabby_block_body.



83
84
85
# File 'lib/rubylexer/context.rb', line 83

def wanting_stabby_block_body
  @wanting_stabby_block_body
end