Tue, 28 Aug 2012 18:29:00 +0200
Massively update modules from Drupal 6.x to 7.x, and add diverse OpenID modules.
Unfortunately many modules available to Drupal 6.x installations have not been
since maintained or ported to 7.x causing this package to diminish in both size
and utility.
michael@356 | 1 | %YAML 1.1 # Reference card |
michael@356 | 2 | --- |
michael@356 | 3 | Collection indicators: |
michael@356 | 4 | '? ' : Key indicator. |
michael@356 | 5 | ': ' : Value indicator. |
michael@356 | 6 | '- ' : Nested series entry indicator. |
michael@356 | 7 | ', ' : Separate in-line branch entries. |
michael@356 | 8 | '[]' : Surround in-line series branch. |
michael@356 | 9 | '{}' : Surround in-line keyed branch. |
michael@356 | 10 | Scalar indicators: |
michael@356 | 11 | '''' : Surround in-line unescaped scalar ('' escaped '). |
michael@356 | 12 | '"' : Surround in-line escaped scalar (see escape codes below). |
michael@356 | 13 | '|' : Block scalar indicator. |
michael@356 | 14 | '>' : Folded scalar indicator. |
michael@356 | 15 | '-' : Strip chomp modifier ('|-' or '>-'). |
michael@356 | 16 | '+' : Keep chomp modifier ('|+' or '>+'). |
michael@356 | 17 | 1-9 : Explicit indentation modifier ('|1' or '>2'). |
michael@356 | 18 | # Modifiers can be combined ('|2-', '>+1'). |
michael@356 | 19 | Alias indicators: |
michael@356 | 20 | '&' : Anchor property. |
michael@356 | 21 | '*' : Alias indicator. |
michael@356 | 22 | Tag property: # Usually unspecified. |
michael@356 | 23 | none : Unspecified tag (automatically resolved by application). |
michael@356 | 24 | '!' : Non-specific tag (by default, "!!map"/"!!seq"/"!!str"). |
michael@356 | 25 | '!foo': Primary (by convention, means a local "!foo" tag). |
michael@356 | 26 | '!!foo': Secondary (by convention, means "tag:yaml.org,2002:foo"). |
michael@356 | 27 | '!h!foo': Requires "%TAG !h! <prefix>" (and then means "<prefix>foo"). |
michael@356 | 28 | '!<foo>': Verbatim tag (always means "foo"). |
michael@356 | 29 | Document indicators: |
michael@356 | 30 | '%' : Directive indicator. |
michael@356 | 31 | '---' : Document header. |
michael@356 | 32 | '...' : Document terminator. |
michael@356 | 33 | Misc indicators: |
michael@356 | 34 | ' #' : Throwaway comment indicator. |
michael@356 | 35 | '`@' : Both reserved for future use. |
michael@356 | 36 | Special keys: |
michael@356 | 37 | '=' : Default "value" mapping key. |
michael@356 | 38 | '<<' : Merge keys from another mapping. |
michael@356 | 39 | Core types: # Default automatic tags. |
michael@356 | 40 | '!!map' : [ Hash table, dictionary, mapping ] |
michael@356 | 41 | '!!seq' : [ List, array, tuple, vector, sequence ] |
michael@356 | 42 | '!!str' : Unicode string |
michael@356 | 43 | More types: |
michael@356 | 44 | '!!set' : { cherries, plums, apples } |
michael@356 | 45 | '!!omap' : [ one: 1, two: 2 ] |
michael@356 | 46 | Language Independent Scalar types: |
michael@356 | 47 | { ~, null } : Null (no value). |
michael@356 | 48 | { 1234, 0x4D2, 02333 } : [ Decimal int, Hexadecimal int, Octal int ] |
michael@356 | 49 | { 1_230.15, 12.3015e+02 } : [ Fixed float, Exponential float ] |
michael@356 | 50 | { .inf, -.Inf, .NAN } : [ Infinity (float), Negative, Not a number ] |
michael@356 | 51 | { Y, true, Yes, ON } : Boolean true |
michael@356 | 52 | { n, FALSE, No, off } : Boolean false |
michael@356 | 53 | ? !!binary > |
michael@356 | 54 | R0lG...BADS= |
michael@356 | 55 | : >- |
michael@356 | 56 | Base 64 binary value. |
michael@356 | 57 | Escape codes: |
michael@356 | 58 | Numeric : { "\xXX": 8-bit, "\uXXXX": 16-bit, "\UXXXXXXXX": 32-bit } |
michael@356 | 59 | Protective: { "\\": '\', "\"": '"', "\ ": ' ', "\<TAB>": "<TAB>", "\^": '^' } |
michael@356 | 60 | C: { "\a": BEL, "\b": BS, "\f": FF, "\n": LF, "\r": CR, "\t": TAB, "\v": VTAB } |
michael@356 | 61 | Additional: { "\e": ESC, "\0": NUL, "\_": NBSP, "\N": NEL, "\L": LS, "\P": PS } |
michael@356 | 62 | ... |