Exemplo n.º 1
0
    public override void EnterDef_stmt([NotNull] GravisParser.Def_stmtContext context)
    {
        var nodeName = context.NAME().GetText();
        var node     = CreateNode(context.node_def());

        definitions[nodeName] = node;
    }
Exemplo n.º 2
0
 /// <summary>
 /// Enter a parse tree produced by <see cref="GravisParser.def_stmt"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void EnterDef_stmt([NotNull] GravisParser.Def_stmtContext context)
 {
 }