Warning, /frameworks/syntax-highlighting/autotests/reference/test.yaml.ref is written in an unsupported language. File is not indexed.

0001 <Comment># YAML test</Comment><br/>
0002 <Attribute></Attribute><br/>
0003 <Comment># Comment</Comment><br/>
0004 <Attribute></Attribute><br/>
0005 <Key>key</Key><Key Points Operator>:</Key Points Operator><Attribute> value</Attribute><br/>
0006 <Key>another key</Key><Key Points Operator>:</Key Points Operator><Attribute> Another value</Attribute><br/>
0007 <Key>boolean</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Boolean>true</Boolean><br/>
0008 <Key>null_value</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Null>null</Null><br/>
0009 <Key>single quotes</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><String>'have </String><Escaped Character>''</Escaped Character><String>one</String><Escaped Character>''</Escaped Character><String> escape pattern'</String><br/>
0010 <Key>double quotes</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><String>"have many: </String><Escaped Character>\"</Escaped Character><String>, </String><Escaped Character>\0</Escaped Character><String>, </String><Escaped Character>\t</Escaped Character><String>, </String><Escaped Character>\u263A</Escaped Character><String>, </String><Escaped Character>\x0d\x0a</Escaped Character><String> == </String><Escaped Character>\r\n</Escaped Character><String>, and more."</String><br/>
0011 <Attribute></Attribute><br/>
0012 <Key>decimal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>+12345</Integer><br/>
0013 <Key>negative</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>-1_4</Integer><br/>
0014 <Key>zero</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>0</Integer><br/>
0015 <Key>octal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>0o14</Integer><br/>
0016 <Key>another octal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>014_2</Integer><br/>
0017 <Key>hexadecimal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>0x_Ca2</Integer><br/>
0018 <Key>float</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Float>1.23015e+3</Float><br/>
0019 <Key>exponential</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Float>12.3015e+02</Float><br/>
0020 <Key>fixed</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Float>12__30.1_5</Float><br/>
0021 <Key>sexagesimal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Float>19_0:20:30.15</Float><br/>
0022 <Key>sexagesimal-inline</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Operator>[</Operator><Integer>123:45:12</Integer><Operator>,</Operator><List> </List><Float>123:45:32.234_32</Float><Operator>,</Operator><List> </List><Integer>+12__3:23</Integer><Operator>]</Operator><br/>
0023 <Key>infinity</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Data Types>!!float</Data Types><Attribute> </Attribute><Float>.inf</Float><br/>
0024 <Key>not a number</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Data Types>!!float</Data Types><Attribute> </Attribute><Float>.NaN</Float><br/>
0025 <Key>datetime</Key><Key Points Operator>:</Key Points Operator><Attribute> 2001-12-15T02:59:43.1Z</Attribute><br/>
0026 <Key>date</Key><Key Points Operator>:</Key Points Operator><Attribute> 2002-12-14</Attribute><br/>
0027 <Attribute></Attribute><br/>
0028 <Key>json_map</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Operator>{</Operator><Key>"key"</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><String>"value"</String><Operator>}</Operator><br/>
0029 <Key>json_seq</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Operator>[</Operator><Integer>3</Integer><Operator>,</Operator><List> </List><Integer>2</Integer><Operator>,</Operator><List> </List><Float>-.inf</Float><Operator>,</Operator><List> </List><String>"value"</String><Operator>]</Operator><br/>
0030 <Key>another key</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Operator>{</Operator><Key>key</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Operator>[</Operator><Integer>+0x12a</Integer><Operator>,</Operator><List> </List><Operator>,</Operator><List> </List><Key>!!hello</Key><Key Points Operator>:</Key Points Operator><Attribute> bye</Attribute><Operator>,</Operator><List> </List><Integer>1</Integer><Operator>,</Operator><List> </List><Boolean>off</Boolean><Operator>,</Operator><List> </List><Operator>{</Operator><Key>a</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Operator>[{</Operator><Key>b</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><String>''</String><Operator>}]}]}</Operator><br/>
0031 <Attribute></Attribute><br/>
0032 <Operator>?</Operator><Normal Text> </Normal Text><Data Types>!!python/tuple</Data Types><Normal Text> </Normal Text><Operator>[</Operator><Integer>5</Integer><Operator>,</Operator><List> </List><Integer>7</Integer><Operator>]</Operator><br/>
0033 <Key Points Operator>:</Key Points Operator><Attribute> Fifty Seven</Attribute><br/>
0034 <Attribute></Attribute><br/>
0035 <Operator>?</Operator><Normal Text> </Normal Text><Key>set2</Key><Key Points Operator>:</Key Points Operator><br/>
0036 <Attribute>  </Attribute><Key>item1</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Null>null</Null><br/>
0037 <Attribute>  </Attribute><Key>item2</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Null>null</Null><br/>
0038 <Attribute></Attribute><br/>
0039 <Key>foo</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Alias>&foo</Alias><br/>
0040 <Attribute>  </Attribute><Key><<</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Reference>*base</Reference><br/>
0041 <Attribute>  </Attribute><Key>age</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>10</Integer><br/>
0042 <Attribute></Attribute><br/>
0043 <Data Types>!!seq</Data Types><Normal Text> </Normal Text><Operator>[</Operator><br/>
0044 <List>  </List><Data Types>!!str</Data Types><List> </List><String>"Block scalar</String><Escaped Character>\n</Escaped Character><String>"</String><Operator>,</Operator><br/>
0045 <List>  </List><Data Types>!!map</Data Types><List> </List><Operator>{</Operator><br/>
0046 <Hash>    </Hash><Operator>?</Operator><Hash> </Hash><Alias>&B1</Alias><Hash> </Hash><Data Types>!!str</Data Types><Hash> </Hash><String>"foo"</String><br/>
0047 <Hash>    </Hash><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Data Types>!!str</Data Types><Attribute> </Attribute><String>"bar"</String><Operator>,</Operator><br/>
0048 <Hash>    </Hash><Operator>?</Operator><Hash> </Hash><Data Types>!!str</Data Types><Hash> </Hash><String>"baz"</String><br/>
0049 <Hash>    </Hash><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Reference>*B1,</Reference><br/>
0050 <Attribute>  </Attribute><Operator>},</Operator><br/>
0051 <List>  </List><Data Types>!!map</Data Types><List> </List><Operator>{</Operator><br/>
0052 <Hash>     </Hash><Key>!!str "sun" </Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Data Types>!!str</Data Types><Attribute> </Attribute><String>"yellow"</String><Operator>,</Operator><br/>
0053 <Hash>  </Hash><Operator>},</Operator><br/>
0054 <Operator>]</Operator><br/>
0055 <Attribute></Attribute><br/>
0056 <Data Types>!!map</Data Types><Normal Text> </Normal Text><Operator>{</Operator><br/>
0057 <Hash>  </Hash><Key>!!str "Booleans"</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Data Types>!!seq</Data Types><Attribute> </Attribute><Operator>[</Operator><br/>
0058 <List>    </List><Data Types>!!bool</Data Types><List> </List><String>"true"</String><Operator>,</Operator><List> </List><Data Types>!!bool</Data Types><List> </List><String>"false"</String><br/>
0059 <List>  </List><Operator>],</Operator><br/>
0060 <Hash>  </Hash><Key>!!str "Invalid"</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Data Types>!!seq</Data Types><Attribute> </Attribute><Operator>[</Operator><br/>
0061 <Comment>    # Rejected by the schema</Comment><br/>
0062 <List>    </List><Boolean>True</Boolean><Operator>,</Operator><List> </List><Null>Null</Null><Operator>,</Operator><List> </List><Integer>0o7</Integer><Operator>,</Operator><List> </List><Integer>0x3A</Integer><Operator>,</Operator><List> </List><Float>+12.3</Float><Operator>,</Operator><br/>
0063 <List>  </List><Operator>],</Operator><br/>
0064 <Operator>}</Operator><br/>
0065 <Attribute></Attribute><br/>
0066 <Document Header>--- !clarkevans.com,2002/graph/^shape</Document Header><br/>
0067 <Operator>-</Operator><Normal Text> </Normal Text><Attribute>!^circle</Attribute><br/>
0068 <Attribute>  </Attribute><Key>center</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Alias>&ORIGIN</Alias><Attribute> </Attribute><Operator>{</Operator><Key>x</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>73</Integer><Operator>,</Operator><Hash> </Hash><Key>y</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>129</Integer><Operator>}</Operator><br/>
0069 <Attribute>  </Attribute><Key>radius</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>7</Integer><br/>
0070 <Attribute></Attribute><br/>
0071 <Operator>?</Operator><Normal Text> </Normal Text><Operator>-</Operator><Normal Text> </Normal Text><Attribute>Dog</Attribute><br/>
0072 <Attribute>  </Attribute><Operator>-</Operator><Normal Text> </Normal Text><Attribute>Cat</Attribute><br/>
0073 <Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Operator>[</Operator><List> 2018-08-11</List><Operator>,</Operator><List> 2016-01-01 </List><Operator>]</Operator><br/>
0074 <Attribute></Attribute><br/>
0075 <Comment># Literal/Folded Style</Comment><br/>
0076 <Attribute></Attribute><br/>
0077 <Document Header>--- </Document Header><Literal/Folded Operator>|</Literal/Folded Operator><br/>
0078 <Literal/Folded Block>  \//||\/||</Literal/Folded Block><br/>
0079 <Literal/Folded Block>  // ||  ||__</Literal/Folded Block><br/>
0080 <Normal Text></Normal Text><br/>
0081 <Document Header>--- </Document Header><Literal/Folded Operator>></Literal/Folded Operator><br/>
0082 <Literal/Folded Block>  Mark McGwire's</Literal/Folded Block><br/>
0083 <Literal/Folded Block>  year was crippled</Literal/Folded Block><br/>
0084 <Literal/Folded Block>  by a knee injury.</Literal/Folded Block><br/>
0085 <Literal/Folded Block> </Literal/Folded Block><br/>
0086 <Operator>? </Operator><Literal/Folded Operator>|</Literal/Folded Operator><br/>
0087 <Literal/Folded Block>  This is a key</Literal/Folded Block><br/>
0088 <Literal/Folded Block>  that has multiple lines</Literal/Folded Block><br/>
0089 <Key Points Operator>:</Key Points Operator><Normal Text> </Normal Text><Literal/Folded Operator>|</Literal/Folded Operator><br/>
0090 <Literal/Folded Block>  and this is it's literal value</Literal/Folded Block><br/>
0091 <Normal Text></Normal Text><br/>
0092 <Comment># Capture the indentation of the Key. The "-" and "?" operators</Comment><br/>
0093 <Comment># are considered as part of the indentation:</Comment><br/>
0094 <Key>key1</Key><Key Points Operator>:</Key Points Operator><br/>
0095 <Key>   key2</Key><Key Points Operator>: </Key Points Operator><Data Types>!!hello</Data Types><Attribute> </Attribute><Literal/Folded Operator>|</Literal/Folded Operator><br/>
0096 <Literal/Folded Block>    literal: " text" # [ ]</Literal/Folded Block><br/>
0097 <Normal Text></Normal Text><br/>
0098 <Literal/Folded Block>    # literal { }</Literal/Folded Block><br/>
0099 <Key>   key3</Key><Key Points Operator>: </Key Points Operator><Literal/Folded Operator>|+</Literal/Folded Operator><br/>
0100 <Literal/Folded Block>    literal: 'text'</Literal/Folded Block><br/>
0101 <Attribute>   </Attribute><Key>no-literal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><String>" text"</String><br/>
0102 <Comment>    #comment</Comment><br/>
0103 <Attribute></Attribute><br/>
0104 <Operator>?  </Operator><Key>key</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Literal/Folded Operator>|-</Literal/Folded Operator><br/>
0105 <Literal/Folded Block>    literal: "text"</Literal/Folded Block><br/>
0106 <Attribute>   </Attribute><Key>no-literal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><String>"text"</String><br/>
0107 <Operator>-</Operator><Normal Text> </Normal Text><Attribute>item1</Attribute><br/>
0108 <Attribute>    </Attribute><Operator>-</Operator><Normal Text> </Normal Text><Attribute>item2</Attribute><br/>
0109 <Operator>        - - - </Operator><Key>key</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Literal/Folded Operator>>-</Literal/Folded Operator><br/>
0110 <Literal/Folded Block>               "literal text" # [ ]</Literal/Folded Block><br/>
0111 <Normal Text></Normal Text><br/>
0112 <Literal/Folded Block>               'literal block'</Literal/Folded Block><br/>
0113 <Attribute>              </Attribute><Key>no-literal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Integer>12</Integer><br/>
0114 <Attribute></Attribute><br/>
0115 <Operator>? - - - - ? </Operator><Key>key</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Literal/Folded Operator>|</Literal/Folded Operator><br/>
0116 <Literal/Folded Block>             literal: [ ]</Literal/Folded Block><br/>
0117 <Attribute>            </Attribute><Key>no-literal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Operator>[</Operator><List> </List><Operator>]</Operator><br/>
0118 <Attribute></Attribute><br/>
0119 <Comment># Capture the indentation of the literal/folded operator:</Comment><br/>
0120 <Literal/Folded Operator>|-</Literal/Folded Operator><br/>
0121 <Literal/Folded Block> literal: "text"</Literal/Folded Block><br/>
0122 <Normal Text></Normal Text><br/>
0123 <Data Types>!!binary</Data Types><Normal Text> </Normal Text><Literal/Folded Operator>|</Literal/Folded Operator><br/>
0124 <Literal/Folded Block> R0lGODlhDAAMAIQAAP//9/X</Literal/Folded Block><br/>
0125 <Literal/Folded Block> 17unp5WZmZgAAAOfn515eXv</Literal/Folded Block><br/>
0126 <Literal/Folded Block> Pz7Y6OjuDg4J+fn5OTk6enp</Literal/Folded Block><br/>
0127 <Literal/Folded Block> 56enmleECcgggoBADs=</Literal/Folded Block><br/>
0128 <Normal Text></Normal Text><br/>
0129 <Key>key1</Key><Key Points Operator>:</Key Points Operator><br/>
0130 <Attribute>  </Attribute><Key>key2</Key><Key Points Operator>:</Key Points Operator><br/>
0131 <Literal/Folded Operator>   |</Literal/Folded Operator><br/>
0132 <Literal/Folded Block>   literal: "text"</Literal/Folded Block><br/>
0133 <Attribute>  </Attribute><Key>key3</Key><Key Points Operator>:</Key Points Operator><br/>
0134 <Data Types>   !!str</Data Types><Normal Text> </Normal Text><Literal/Folded Operator>|</Literal/Folded Operator><br/>
0135 <Literal/Folded Block>   literal: "text"</Literal/Folded Block><br/>
0136 <Literal/Folded Block>   #literal</Literal/Folded Block><br/>
0137 <Normal Text></Normal Text><br/>
0138 <Comment># Capture the indentation of the operators "-" or "?":</Comment><br/>
0139 <Operator>? - - - </Operator><Data Types>!!hello</Data Types><Attribute> </Attribute><Literal/Folded Operator>|+</Literal/Folded Operator><br/>
0140 <Literal/Folded Block>       literal: "sdfsd" # [ ]</Literal/Folded Block><br/>
0141 <Attribute>      </Attribute><Key>no-literal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><String>"sdfsd"</String><Comment> # [ ]</Comment><br/>
0142 <Attribute></Attribute><br/>
0143 <Operator>- - - - </Operator><Literal/Folded Operator>>-</Literal/Folded Operator><br/>
0144 <Literal/Folded Block>       literal: "text"</Literal/Folded Block><br/>
0145 <Literal/Folded Block>       #literal</Literal/Folded Block><br/>
0146 <Attribute>      </Attribute><Key>no-literal</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><String>"text"</String><Normal Text> </Normal Text><br/>
0147 <Attribute></Attribute><br/>
0148 <Comment># This implementation of literal blocks has a limitation:</Comment><br/>
0149 <Comment># it only supports 6 dashes at most.</Comment><br/>
0150 <Operator>-</Operator><Normal Text> </Normal Text><Operator>-</Operator><Normal Text> </Normal Text><Operator>-</Operator><Normal Text> </Normal Text><Operator>-</Operator><Normal Text> </Normal Text><Operator>-</Operator><Normal Text> </Normal Text><Operator>-</Operator><Normal Text> </Normal Text><Operator>-</Operator><Normal Text> </Normal Text><Key>key</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Literal/Folded Operator>|</Literal/Folded Operator><br/>
0151 <Attribute>               literal? "dfsf"</Attribute><br/>
0152 <Attribute></Attribute><br/>
0153 <Comment># Only comments after spaces & strings in multiline attributes (bug #407060)</Comment><br/>
0154 <Key>reg_list</Key><Key Points Operator>:</Key Points Operator><br/>
0155 <Operator>-</Operator><Normal Text> </Normal Text><Key>reg</Key><Key Points Operator>:</Key Points Operator><Attribute> </Attribute><Operator>?</Operator><Attribute>#XPath //div[@class="product_item cf"][@id] ))(?sx)</Attribute><br/>
0156 <Attribute>    id="product(?P<code>[^"]+)"</Attribute><br/>
0157 <Attribute>    .+?<h4><a\s+[^>]+>(?P<title>[^<]+)</a></h4></Attribute><br/>