class ANTLR3::Test::Grammar::CompilationFailure
Constants
- JAVA_TRACE
Attributes
command[R]
grammar[R]
output[R]
status[R]
Public Class Methods
new( grammar, command, status, output )
click to toggle source
Calls superclass method
# File lib/antlr3/test/grammar.rb, line 318 def initialize( grammar, command, status, output ) @command = command @status = status @output = output.gsub( JAVA_TRACE, '' ) message = <<-END.here_indent! % [ command, status, grammar, @output ] | command ``%s'' failed with status %s | %p | ~ ~ ~ command output ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | %s END super( message.chomp! || message ) end