Example #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);
        }
Example #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);
 }
Example #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);
 }