public override void EnterInstance(STEPParser.InstanceContext context) { currId = int.Parse(context.Id().GetText().TrimStart('#')); }
/// <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) { }