class Treetop::Runtime::TerminalParseFailure
def expected_string
def expected_string "#{@expected_string} from #{@caller.map{|s| s.sub(/\A.*:([0-9]+):in `([^']*)'.*/,'\2:\1')}*" from "}\n\t" end
def initialize(index, expected_string)
def initialize(index, expected_string) @index = index @expected_string = expected_string end
def initialize(index, expected_string)
def initialize(index, expected_string) @index = index @caller = caller @expected_string = expected_string end
def to_s
def to_s "String matching #{expected_string} expected." end
def to_s
def to_s "String matching #{expected_string} expected." end