Example #1
0
 private XmlInvalidExpressionNode InvalidExpression(XmlInvalidExpressionType type, int start, ICollection <TokenType> tokens, params XmlExpressionNode[] nodes)
 {
     while (!tokens.Contains(_tokenizer.Token) && _tokenizer.Token != TokenType.Eof)
     {
         _tokenizer.NextToken(false);
     }
     return(new XmlInvalidExpressionNode(nodes, type, start, _tokenizer.Position));
 }
Example #2
0
 private XmlInvalidExpressionNode InvalidExpression(XmlInvalidExpressionType type, int start, ICollection<TokenType> tokens, params XmlExpressionNode[] nodes)
 {
     while (!tokens.Contains(_tokenizer.Token) && _tokenizer.Token != TokenType.Eof)
         _tokenizer.NextToken(false);
     return new XmlInvalidExpressionNode(nodes, type, start, _tokenizer.Position);
 }
Example #3
0
 private XmlInvalidExpressionNode InvalidExpression(XmlInvalidExpressionType type, int start, params XmlExpressionNode[] nodes)
 {
     return new XmlInvalidExpressionNode(nodes, type, start, _tokenizer.Position);
 }
Example #4
0
 private XmlInvalidExpressionNode InvalidExpression(XmlInvalidExpressionType type, int start)
 {
     return new XmlInvalidExpressionNode(type, start, _tokenizer.Position);
 }
 public XmlInvalidExpressionNode(IList<XmlExpressionNode> nodes, XmlInvalidExpressionType type, int start, int end)
     : this(type, start, end)
 {
     _nodes = nodes;
 }
 public XmlInvalidExpressionNode(XmlInvalidExpressionType type, int start, int end)
     : base(start, end)
 {
     _type = type;
 }
Example #7
0
 private XmlInvalidExpressionNode InvalidExpression(XmlInvalidExpressionType type, int start, params XmlExpressionNode[] nodes)
 {
     return(new XmlInvalidExpressionNode(nodes, type, start, _tokenizer.Position));
 }
Example #8
0
 private XmlInvalidExpressionNode InvalidExpression(XmlInvalidExpressionType type, int start)
 {
     return(new XmlInvalidExpressionNode(type, start, _tokenizer.Position));
 }
Example #9
0
 public XmlInvalidExpressionNode(IList <XmlExpressionNode> nodes, XmlInvalidExpressionType type, int start, int end)
     : this(type, start, end)
 {
     _nodes = nodes;
 }
Example #10
0
 public XmlInvalidExpressionNode(XmlInvalidExpressionType type, int start, int end)
     : base(start, end)
 {
     _type = type;
 }