Esempio n. 1
0
 public override void ExitEnumerationMember([NotNull] LuminaryParser.EnumerationMemberContext context)
 {
     _enumerationMember.Value = Swap(ref _literal, null);
     _enumeration.Members.Add(Swap(ref _enumerationMember, null));
 }
Esempio n. 2
0
 public override void EnterEnumerationMember([NotNull] LuminaryParser.EnumerationMemberContext context)
 {
     _enumerationMember = new EnumerationMemberNode(context.IDENTIFIER().GetText(), ExtractDocumentation(context));
 }