Esempio n. 1
0
        public override EntityObjectModel VisitEventDefinition([NotNull] EventDefinitionContext context)
        {
            string name = context.GetEventNameText();

            CurrentFieldDefinitions = context.fieldDefinition();
            return(new EntityObjectModel(name, ModelType.Event));
        }
Esempio n. 2
0
        public static string GetEventNameText(this EventDefinitionContext context)
        {
            var eventName     = context.eventName();
            var eventNameText = eventName.children.AggregateText();

            return(eventNameText);
        }