Beispiel #1
0
 private static SyntaxNode StringLiteral(RParser.StringLiteralContext str, Func <ParserRuleContext, Scope, SyntaxNode> transform, Scope scope)
 {
     return(CSharp.ParseExpression(str.STRING().ToString()));
 }
Beispiel #2
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="RParser.StringLiteral"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitStringLiteral([NotNull] RParser.StringLiteralContext context)
 {
 }