Example usage for org.antlr.v4.runtime.atn ATNConfigSet toString

List of usage examples for org.antlr.v4.runtime.atn ATNConfigSet toString

Introduction

In this page you can find the example usage for org.antlr.v4.runtime.atn ATNConfigSet toString.

Prototype

@Override
    public String toString() 

Source Link

Usage

From source file:net.fchauvel.trio.core.storage.parsing.SystemErrorListener.java

License:Open Source License

@Override
public void reportContextSensitivity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction,
        ATNConfigSet configs) {
    final String error = String.format("Line %d: expected %s", stopIndex, configs.toString());
    errors.add(error);//www. j a v  a2s .co m
}