Ejemplo n.º 1
0
 public override void EnterStruct_declaration(DcParser.Struct_declarationContext context)
 {
     _currentClass = new DcClass(_dcFile, context.name.Text, true, false);
 }
Ejemplo n.º 2
0
 public override void ExitStruct_declaration(DcParser.Struct_declarationContext context)
 {
     _dcFile.AddClass(_currentClass);
     _currentClass = null;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="DcParser.struct_declaration"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitStruct_declaration([NotNull] DcParser.Struct_declarationContext context)
 {
 }