Esempio n. 1
0
 private static SyntaxNode HexLiteral(RParser.HexLiteralContext hex, Func <ParserRuleContext, Scope, SyntaxNode> transform, Scope scope)
 {
     return(CSharp.ParseExpression(hex.HEX().ToString()));
 }
Esempio n. 2
0
 /// <summary>
 /// Enter a parse tree produced by <see cref="RParser.HexLiteral"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void EnterHexLiteral([NotNull] RParser.HexLiteralContext context)
 {
 }