Esempio n. 1
0
 public override void EnterEntityDeclaration(ExpressParser.EntityDeclarationContext context)
 {
     currentEntityInfo = new EntityDeclarationInfo(context.Identifier().GetText());
     Entities.Add(currentEntityInfo);
 }
Esempio n. 2
0
 public override void ExitEntityDeclaration(ExpressParser.EntityDeclarationContext context)
 {
     currentEntityInfo = null;
 }
 /// <summary>
 /// Exit a parse tree produced by <see cref="ExpressParser.entityDeclaration"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitEntityDeclaration([NotNull] ExpressParser.EntityDeclarationContext context)
 {
 }