示例#1
0
 public override void ExitInterfaceProperty(LuminaryParser.InterfacePropertyContext context)
 {
     _interface.Properties.Add(Swap(ref _interfaceProperty, null));
 }
示例#2
0
 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));
 }