return null;
if (this.grammar == null)
return paramString;
if (((this.grammar.buildAST) && (paramString.indexOf('#') != -1)) || ((this.grammar instanceof TreeWalkerGrammar)) || ((((this.grammar instanceof LexerGrammar)) || ((this.grammar instanceof ParserGrammar))) && (paramString.indexOf('$') != -1)))
{
ActionLexer localActionLexer = new ActionLexer(paramString, paramRuleBlock, this, paramActionTransInfo);
localActionLexer.setLineOffset(paramInt);
localActionLexer.setFilename(this.grammar.getFilename());
localActionLexer.setTool(this.antlrTool);
try
{
localActionLexer.mACTION(true);
paramString = localActionLexer.getTokenObject().getText();
}
catch (RecognitionException localRecognitionException)
{
localActionLexer.reportError(localRecognitionException);
return paramString;
}
catch (TokenStreamException localTokenStreamException)
{
this.antlrTool.panic("Error reading action:" + paramString);