예제 #1
0
 private static SyntaxNode IntLiteral(RParser.IntLiteralContext @int, Func <ParserRuleContext, Scope, SyntaxNode> transform, Scope scope)
 {
     return(CSharp.ParseExpression(@int.INT().ToString()));
 }
예제 #2
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="RParser.IntLiteral"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitIntLiteral([NotNull] RParser.IntLiteralContext context)
 {
 }