private DothtmlValueBindingNode ReadBindingValue(bool whitespacesBefore, bool whiteSpacesAfter) { var startIndex = CurrentIndex; var node = new DothtmlValueBindingNode() { StartPosition = Peek().StartPosition }; if (whitespacesBefore) { node.WhitespacesBefore = SkipWhiteSpace(); } Assert(DothtmlTokenType.OpenBinding); node.BindingNode = ReadBinding(); node.ValueTokens = node.BindingNode.Tokens; if (whiteSpacesAfter) { node.WhitespacesAfter = SkipWhiteSpace(); } node.Tokens.AddRange(GetTokensFrom(startIndex)); return(node); }
public void Visit(DothtmlValueBindingNode bindingValue) { ResolveFromParent(bindingValue); }
public void Visit(DothtmlValueBindingNode bindingValue) { LastFoundNode = bindingValue; }