Exemple #1
0
 public override void EnterInstance(STEPParser.InstanceContext context)
 {
     currId = int.Parse(context.Id().GetText().TrimStart('#'));
 }
Exemple #2
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="STEPParser.instance"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitInstance([NotNull] STEPParser.InstanceContext context)
 {
 }