39ANTLR_USE_NAMESPACE(std)
string RecognitionException::getFileLineColumnString()
const
41 ANTLR_USE_NAMESPACE(std)
string fileLineColumnString;
43 if ( fileName.length() > 0 )
44 fileLineColumnString = fileName +
":";
48 if ( fileName.length() == 0 )
49 fileLineColumnString = fileLineColumnString +
"line ";
51 fileLineColumnString = fileLineColumnString + line;
54 fileLineColumnString = fileLineColumnString +
":" + column;
56 fileLineColumnString = fileLineColumnString +
":";
59 fileLineColumnString = fileLineColumnString +
" ";
61 return fileLineColumnString;