示例#1
0
        private void ParseTagIdNode(string content, ref int pos)
        {
            pos++;
            string tagId  = GetHtmlToken(content, ref pos);
            var    newTag = new HamlNodeTagId(SourceFileLineNum, tagId);

            AddChild(newTag);
        }
示例#2
0
 private void ParseTagIdNode(string content, ref int pos)
 {
     int startIndex = pos + Metrics.TokenLength;
     pos++;
     string tagId = GetHtmlToken(content, ref pos);
     var newTag = new HamlNodeTagId(Metrics.SubSpan(startIndex, tagId.Length + 1), tagId);
     AddChild(newTag);
 }
示例#3
0
 private void ParseTagIdNode(string content, ref int pos)
 {
     pos++;
     string tagId = GetHtmlToken(content, ref pos);
     var newTag = new HamlNodeTagId(SourceFileLineNum, tagId);
     AddChild(newTag);
 }