public override void ExitInterfaceDefinition([NotNull] LuminaryParser.InterfaceDefinitionContext context) { _types.Pop(); _types.Peek().DefinedInterfaces.Add(Swap(ref _interface, null)); RestoreCurrentTypeContainer(); }
public override void EnterInterfaceDefinition([NotNull] LuminaryParser.InterfaceDefinitionContext context) { _interface = new InterfaceNode(context.IDENTIFIER().GetText(), ExtractDocumentation(context), ExtractSupertypes(context.supertypeList())); _types.Push(_interface); }