public override void EnterHtmlCloseTag([NotNull] TxMarkParser.HtmlCloseTagContext context) { AddTag(context.LESS_THAN().Symbol, Classify("HTML Tag Delimiter")); AddTag(context.SLASH().Symbol, Classify("HTML Tag Delimiter")); AddTag(context.word().WORD().Symbol, Classify("HTML Element Name")); AddTag(context.GREATER_THAN().Symbol, Classify("HTML Tag Delimiter")); }
public override void ExitHtmlCloseTag([NotNull] TxMarkParser.HtmlCloseTagContext context) { _compileContext.Pop(); _compileContext.PopTag(context.word().GetText()); }
public override void EnterHtmlCloseTag([NotNull] TxMarkParser.HtmlCloseTagContext context) { _compileContext.SetLocation(context.Start.Line, context.Start.Column); _compileContext.Push(CodeContextTypes.TagClose, context.word().GetText()); }