1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-04-19 12:02:46 +02:00
chroma/lexers/testdata/systemverilog.expected
Kaushal Modi c67f8fee79 Support SystemVerilog DPI and DPI-C import statements
Ref: Section "35.5.4 Import declarations" from SystemVerilog standard
IEEE 1800-2017.
2019-03-06 08:48:01 +11:00

36 lines
1.2 KiB
Plaintext

[
{"type":"CommentSingle","value":"// Comment\n"},
{"type":"Text","value":"\n"},
{"type":"Keyword","value":"program"},
{"type":"Text","value":" "},
{"type":"Name","value":"top"},
{"type":"Punctuation","value":";"},
{"type":"Text","value":"\n\n "},
{"type":"KeywordNamespace","value":"import"},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"DPI-C\""},
{"type":"Text","value":" "},
{"type":"Name","value":"hello"},
{"type":"Operator","value":"="},
{"type":"Keyword","value":"task"},
{"type":"Text","value":" "},
{"type":"Name","value":"hello"},
{"type":"Punctuation","value":"();"},
{"type":"Text","value":"\n\n "},
{"type":"Keyword","value":"initial"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"begin"},
{"type":"Text","value":"\n "},
{"type":"Name","value":"hello"},
{"type":"Punctuation","value":"();"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"end"},
{"type":"Text","value":"\n\n"},
{"type":"Keyword","value":"endprogram"},
{"type":"Text","value":" "},
{"type":"Operator","value":":"},
{"type":"Text","value":" "},
{"type":"Name","value":"top"},
{"type":"Text","value":"\n"}
]