]> gitweb.factorcode.org Git - factor.git/blob - extra/html/parser/analyzer/analyzer-docs.factor
797126b1f2bfff15dc4c75f087069247f34c107e
[factor.git] / extra / html / parser / analyzer / analyzer-docs.factor
1 USING: help.syntax help.markup html.parser.analyzer sequences strings ;
2 IN: html.parser.analyzer-docs
3
4 HELP: stack-find
5 { $values { "seq" sequence } { "quot" { $quotation "( elt -- 1/0/-1 )" } } }
6 { $description "Takes a sequence and a quotation expected to return -1 if the element decrements the stack, 0 if it doesnt affect it and 1 if it increments it. Then finds the first element where the stack is empty." } ;
7
8 HELP: tag-classifier
9 { $values { "string" string } }
10 { $description "Builds a function that classifies tag tuples. Returns 1 if the tag is an opening tag with the given name, -1 if it is a closing tag and 0 otherwise." } ;
11