This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
spec:dfn-patterns [2013/07/30 15:20] – [Exporting Definitions] tabatkins | spec:dfn-patterns [2014/12/09 15:48] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 26: | Line 26: | ||
* function (like counter() or linear-gradient()) | * function (like counter() or linear-gradient()) | ||
* selector | * selector | ||
+ | * token | ||
There are additional categories for WebIDL definitions: | There are additional categories for WebIDL definitions: | ||
Line 33: | Line 34: | ||
* attribute | * attribute | ||
* dictionary | * dictionary | ||
+ | * dictmember | ||
* enum | * enum | ||
* const | * const | ||
Line 56: | Line 58: | ||
* Does it start with an @? Then it's an **at-rule**. | * Does it start with an @? Then it's an **at-rule**. | ||
* Is it surrounded by <>? Then it's a **type**. | * Is it surrounded by <>? Then it's a **type**. | ||
+ | * Is it surrounded by 〈〉? Then it's a **token**. | ||
* Does it start with a :? Then it's a **selector**. (This is a simplistic auto-detection for pseudo-classes and pseudo-elements.) | * Does it start with a :? Then it's a **selector**. (This is a simplistic auto-detection for pseudo-classes and pseudo-elements.) | ||
* Does it end with ()? Then it's a **function**. | * Does it end with ()? Then it's a **function**. | ||
Line 74: | Line 77: | ||
|funcdef | function| | |funcdef | function| | ||
|selectordef | selector| | |selectordef | selector| | ||
+ | |tokendef | token| | ||
|interfacedef | interface| | |interfacedef | interface| | ||
|methoddef | method| | |methoddef | method| | ||
|attrdef | attribute| | |attrdef | attribute| | ||
|dictdef | dictionary| | |dictdef | dictionary| | ||
+ | |dictmemberdef | dictmember| | ||
|enumdef | enum| | |enumdef | enum| | ||
|constdef | const| | |constdef | const| | ||
Line 97: | Line 102: | ||
|funcdef- | function| | |funcdef- | function| | ||
|selectordef- | selector| | |selectordef- | selector| | ||
+ | |tokendef- | token| | ||
|interfacedef- | interface| | |interfacedef- | interface| | ||
|methoddef- | method| | |methoddef- | method| | ||
|attrdef- | attribute| | |attrdef- | attribute| | ||
|dictdef- | dictionary| | |dictdef- | dictionary| | ||
+ | |dictmemberdef- | dictmember| | ||
|enumdef- | enum| | |enumdef- | enum| | ||
|constdef- | const| | |constdef- | const| |