예제 #1
0
        private DothtmlValueBindingNode ReadBindingValue(bool whitespacesBefore, bool whiteSpacesAfter)
        {
            var startIndex = CurrentIndex;

            var node = new DothtmlValueBindingNode();

            if (whitespacesBefore)
            {
                node.WhitespacesBefore = SkipWhiteSpace();
            }

            Assert(DothtmlTokenType.OpenBinding);
            node.BindingNode = ReadBinding();
            node.ValueTokens = node.BindingNode.Tokens;

            if (whiteSpacesAfter)
            {
                node.WhitespacesAfter = SkipWhiteSpace();
            }

            node.Tokens.Add(GetTokensFrom(startIndex));
            return(node);
        }
예제 #2
0
 public void Visit(DothtmlValueBindingNode bindingValue)
 {
     LastFoundNode = bindingValue;
 }
예제 #3
0
 public void Visit(DothtmlValueBindingNode bindingValue)
 {
     LastFoundNode = bindingValue;
 }