Warning, file /frameworks/syntax-highlighting/autotests/html/highlight.proto.dark.html was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 <!DOCTYPE html> 0002 <html><head> 0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 0004 <title>highlight.proto</title> 0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (Protobuf) - Theme (Breeze Dark)"/> 0006 </head><body style="background-color:#232629;color:#cfcfc2"><pre> 0007 syntax = <span style="color:#f44f4f;">"proto2"</span>; 0008 0009 <span style="font-weight:bold;">package</span> example; 0010 0011 <span style="font-weight:bold;">message</span> Object { 0012 <span style="font-weight:bold;">required</span> <span style="color:#2980b9;">string</span> name = <span style="color:#f67400;">1</span>; 0013 <span style="font-weight:bold;">required</span> <span style="color:#2980b9;">int32</span> identifier = <span style="color:#f67400;">2</span>; 0014 <span style="font-weight:bold;">optional</span> <span style="color:#2980b9;">string</span> address = <span style="color:#f67400;">3</span>; 0015 0016 <span style="font-weight:bold;">enum</span> ObjectType { 0017 LOCAL = <span style="color:#f67400;">0</span>; 0018 REMOTE = <span style="color:#f67400;">1</span>; 0019 NEITHER = <span style="color:#f67400;">2</span>; 0020 } 0021 0022 <span style="font-weight:bold;">message</span> ObjectData { 0023 <span style="font-weight:bold;">required</span> <span style="color:#2980b9;">string</span> number = <span style="color:#f67400;">1</span>; 0024 <span style="font-weight:bold;">optional</span> ObjectType type = <span style="color:#f67400;">2</span> [<span style="font-weight:bold;">default</span> = NEITHER]; 0025 } 0026 0027 <span style="font-weight:bold;">repeated</span> ObjectData dataList = <span style="color:#f67400;">4</span>; 0028 } 0029 0030 <span style="font-weight:bold;">message</span> ObjectList { 0031 <span style="font-weight:bold;">repeated</span> Object object = <span style="color:#f67400;">1</span>; 0032 } 0033 </pre></body></html>