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=, #matches?, #see, #wantarrow

Constructor Details

#initialize(linenum) ⇒ BlockContext

Returns a new instance of BlockContext.



73
74
75
# File 'lib/rubylexer/context.rb', line 73

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

Instance Attribute Details

#wanting_stabby_block_bodyObject

Returns the value of attribute wanting_stabby_block_body.



76
77
78
# File 'lib/rubylexer/context.rb', line 76

def wanting_stabby_block_body
  @wanting_stabby_block_body
end