Class AntlrHelper


  • public class AntlrHelper
    extends java.lang.Object
    • Constructor Detail

      • AntlrHelper

        public AntlrHelper()
    • Method Detail

      • createSourceLocation

        public static SourceLocation createSourceLocation​(MultiSourceReader multiSourceReader,
                                                          int antrlLine,
                                                          int charPositionInLine)
      • createSourceLocation

        public static SourceLocation createSourceLocation​(MultiSourceReader multiSourceReader,
                                                          org.antlr.v4.runtime.tree.TerminalNode terminalNode)
      • createPreview

        public static java.lang.String createPreview​(MultiSourceReader multiSourceReader,
                                                     int antrlLine)