Пример #1
0
 public override void ExitClassProperty([NotNull] LuminaryParser.ClassPropertyContext context)
 {
     _class.Properties.Add(Swap(ref _classProperty, null));
 }
Пример #2
0
 public override void EnterClassProperty([NotNull] LuminaryParser.ClassPropertyContext context)
 {
     _classProperty = new ClassPropertyNode(context.IDENTIFIER().GetText(), context.type().GetText(),
                                            context.OVERRIDE() != null, context.FINAL() != null, ExtractDocumentation(context));
 }