Esempio n. 1
0
        /// <summary>
        /// general_element_part :
        ///     (INTRODUCER char_set_name)? id_expressions('@' link_name)? function_arguments?
        ///     ;
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        public override object VisitGeneral_element_part([NotNull] PlSqlParser.General_element_partContext context)
        {
            Stop();
            var result = base.VisitGeneral_element_part(context);

            Debug.Assert(result != null);
            return(result);
        }
Esempio n. 2
0
        public static ParsedLink ReadElement(PlSqlParser.General_element_partContext context)
        {
            PlSqlParser.Id_expressionContext[] Id_expressionContexts = context.id_expression();
            string     elementName = string.Join(".", Id_expressionContexts.Select(x => x.GetText()));
            ParsedLink element     = new ParsedLink(elementName);

            element.SetPosition(Id_expressionContexts.First());
            element.SetPosition(Id_expressionContexts.Last());
            return(element);
        }
Esempio n. 3
0
 public override ParsedProcedure VisitGeneral_element_part([NotNull] PlSqlParser.General_element_partContext context)
 {
     _Result.AddElement(Helper.ReadElement(context));
     return(base.VisitGeneral_element_part(context));
 }