public override void ExitInterfaceProperty(LuminaryParser.InterfacePropertyContext context) { _interface.Properties.Add(Swap(ref _interfaceProperty, null)); }
public override void EnterInterfaceProperty([NotNull] LuminaryParser.InterfacePropertyContext context) { _interfaceProperty = new InterfacePropertyNode(context.IDENTIFIER().GetText(), context.type().GetText(), context.OVERRIDE() != null, context.GET() != null, context.SET() != null, ExtractDocumentation(context)); }