OLD | NEW |
(Empty) | |
| 1 { |
| 2 // This file specifies all the methods in CSSPropertyAPI.h and the neces
sary |
| 3 // information for code generation of the API and it's related classes. |
| 4 parameters: { |
| 5 // - name |
| 6 // The name of this method in camel case. |
| 7 name: { |
| 8 default: "", |
| 9 valid_type: "str", |
| 10 }, |
| 11 |
| 12 // - return_type |
| 13 // Return type of this method. |
| 14 return_type: { |
| 15 default: "", |
| 16 valid_type: "str", |
| 17 }, |
| 18 |
| 19 // - parameters |
| 20 // The parameters of this method. This string should be the type
s of |
| 21 // all parameters, inside brackets and comma separated. |
| 22 parameters: { |
| 23 default: "", |
| 24 valid_type: "str", |
| 25 } |
| 26 }, |
| 27 data: [ |
| 28 { |
| 29 name: "parseSingleValue", |
| 30 return_type: "const CSSValue*", |
| 31 parameters: "(CSSParserTokenRange&, const CSSParserContext*)" |
| 32 }, |
| 33 { |
| 34 name: "parseShorthand", |
| 35 return_type: "bool", |
| 36 parameters: "(bool, CSSParserTokenRange&, const CSSParserConte
xt*)" |
| 37 }, |
| 38 ] |
| 39 } |
OLD | NEW |