示例#1
0
 public virtual void Visit(Mapping mapping)
 {
     VisitSubNodes(mapping);
 }
示例#2
0
        /// <summary>
        /// Parse one mapping
        /// </summary>
        /// <returns>Parsed mapping</returns>
        public Mapping ParseMapping()
        {
            Mapping mapping = new Mapping();

            // Parse Path
            mapping.SetPath(ParsePath());

            // Skip : symbol
            NextToken(":", "path : mapping", ':');

            // Parse Markup
            mapping.SetMarkup(markupParser.ParseMarkup());

            return mapping;
        }