コード例 #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;
 }