85
if ( !(currentTagId != tagId))
86
throw new ParseException (location, "Closing tag does not match opening tag " + tagId + ".");
87
currentNode = currentNode.Parent;
90
case TagType.CodeRender:
91
throw new NotImplementedException ("Code render expressions have not yet been implemented: " + location.PlainText);
93
case TagType.CodeRenderExpression:
94
throw new NotImplementedException ("Code render expressions have not yet been implemented: " + location.PlainText);
96
case TagType.DataBinding:
97
throw new NotImplementedException("Data binding expressions have not yet been implemented: " + location.PlainText);
99
case TagType.Directive:
100
AddtoCurrent (location, new DirectiveNode (location, tagId, attributes));
103
case TagType.Include:
104
throw new NotImplementedException ("Server-side includes have not yet been implemented: " + location.PlainText);
106
case TagType.ServerComment:
108
throw new NotImplementedException ("Server comments have not yet been implemented: " + location.PlainText);
110
case TagType.SelfClosing:
111
AddtoCurrent (location, new TagNode (location, tagId, attributes));
115
Node child = new TagNode (location, tagId, attributes);
116
AddtoCurrent (location, child);
121
throw new NotImplementedException("Text tagtypes have not yet been implemented: " + location.PlainText);
85
if ( !(currentTagId != tagId))
86
throw new ParseException (location, "Closing tag does not match opening tag " + tagId + ".");
87
currentNode = currentNode.Parent;
90
case TagType.CodeRender:
91
case TagType.CodeRenderExpression:
92
case TagType.DataBinding:
93
AddtoCurrent (location, new ExpressionNode (location, tagId));
96
case TagType.Directive:
97
AddtoCurrent (location, new DirectiveNode (location, tagId, attributes));
100
case TagType.Include:
101
throw new NotImplementedException ("Server-side includes have not yet been implemented: " + location.PlainText);
103
case TagType.ServerComment:
104
//FIXME: the parser doesn't actually return these
105
throw new NotImplementedException ("Server comments have not yet been implemented: " + location.PlainText);
107
case TagType.SelfClosing:
108
AddtoCurrent (location, new TagNode (location, tagId, attributes));
112
Node child = new TagNode (location, tagId, attributes);
113
AddtoCurrent (location, child);
118
//FIXME: the parser doesn't actually return these
119
throw new NotImplementedException("Text tagtypes have not yet been implemented: " + location.PlainText);