Ejemplo n.º 1
0
 public virtual void Visit(CdataStatement statement)
 {
     VisitSubNodes(statement);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Parser for CdataStatement
        /// </summary>
        /// <returns>Parsed CdataStatement</returns>
        public CdataStatement ParseCdataStatement()
        {
            CdataStatement cdataStatement = new CdataStatement();

            //Skip cdata token
            NextToken("cdata", "cdata expression;", "cdata");

            //Parse expression
            cdataStatement.SetExpression(expressionParser.ParseExpression());

            //Skip ; token
            NextToken(";", "cdata expression;", ';');

            return cdataStatement;
        }