MCPcopy
hub / github.com/antlr/antlr4 / toolError

Method toolError

tool/src/org/antlr/v4/tool/ErrorManager.java:147–149  ·  view source on GitHub ↗

Raise a predefined message with some number of parameters for the StringTemplate but for which there is no location information possible. @param errorType The Message Descriptor @param args The arguments to pass to the StringTemplate

(ErrorType errorType, Object... args)

Source from the content-addressed store, hash-verified

145 * @param args The arguments to pass to the StringTemplate
146 */
147 public void toolError(ErrorType errorType, Object... args) {
148 toolError(errorType, null, args);
149 }
150
151 public void toolError(ErrorType errorType, Throwable e, Object... args) {
152 ToolMessage msg = new ToolMessage(errorType, e, args);

Callers 15

mainMethod · 0.80
handleArgsMethod · 0.80
handleOptionSetArgMethod · 0.80
parseGrammarMethod · 0.80
generateATNsMethod · 0.80
loadMethod · 0.80
parseArtificialRuleMethod · 0.80
setAltAssocMethod · 0.80
getTokenPropertyRefMethod · 0.80
getRulePropertyRefMethod · 0.80

Calls 1

emitMethod · 0.95

Tested by

no test coverage detected