PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
SyntaxSuggest
/
LeftRightLexCount
U:RDoc::NormalClass[iI"LeftRightLexCount:ETI"%SyntaxSuggest::LeftRightLexCount;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"3Find mis-matched syntax based on lexical count;To:RDoc::Markup::BlankLine o; ;[I"2Used for detecting missing pairs of elements ;TI"5each keyword needs an end, each '{' needs a '}' ;TI" etc.;T@o; ;[I" Example:;T@o:RDoc::Markup::Verbatim;[I"(left_right = LeftRightLexCount.new ;TI"left_right.count_kw ;TI"left_right.missing.first ;TI"# => "end" ;TI" ;TI"(left_right = LeftRightLexCount.new ;TI"0source = "{ a: b, c: d" # Note missing '}' ;TI".LexAll.new(source: source).each do |lex| ;TI"! left_right.count_lex(lex) ;TI" end ;TI"left_right.missing.first ;TI" # => "}";T:@format0: @fileI"/lib/syntax_suggest/left_right_lex_count.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [U:RDoc::Constant[i I" PAIRS;TI",SyntaxSuggest::LeftRightLexCount::PAIRS;T:public0o;;[ ; @(;0@(@cRDoc::NormalClass0[ [[I" class;T[[;[[I"new;TI"/lib/syntax_suggest/left_right_lex_count.rb;T[:protected[ [:private[ [I" instance;T[[;[ [I"count_end;T@;[I"count_for_char;T@;[I" count_kw;T@;[I"count_lex;T@;[I"missing;T@;[;[ [;[[I"missing_keyword_end;T@;[I"missing_pairs;T@;[I"missing_pipe;T@;[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@(I"SyntaxSuggest;TcRDoc::NormalModule
[-] count_for_char-i.ri
[edit]
[-] cdesc-LeftRightLexCount.ri
[edit]
[-] missing_pairs-i.ri
[edit]
[-] new-c.ri
[edit]
[-] count_kw-i.ri
[edit]
[-] missing_pipe-i.ri
[edit]
[-] count_lex-i.ri
[edit]
[-] missing_keyword_end-i.ri
[edit]
[-] missing-i.ri
[edit]
[+]
..
[-] count_end-i.ri
[edit]