This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/bdd/example.feature.output
xuan 97e5c04a61
Add support for BDD features / stories (#1803)
* Create BDD.py

Initialize the lexer file of BDD
Add keywords of BDD

* Update the 'RegexLexer'

* Edit and test

* Update BDD.py

* Update BDD.py

* Update the BddLexer file

* Update the BddLexer of root tokens

* edit bdd

Add regular expression for tokens

* edit bdd

Add regular expression for tokens

* add .gitignore

* updata bdd.lexer

* Delete bdd.py

* Update the Keywords, Numbers, Punctuation token

* bdd.py

Assign different colors to keywords, punctuation, numbers, and variables.

* Update the BddLexer file

* Update bdd.py

Fix the file name.

* Add the detection for '@'

Co-Authored-By: OMGJL <8707895+OMGJL@users.noreply.github.com>

* Update bdd.py

Add detection of double quotes.

Co-Authored-By: OMGJL <8707895+OMGJL@users.noreply.github.com>

* Fix the double quotes

* fix the quote recognition

* add comments

* update the root dir

* add bdd test cases

* Delete .DS_Store

* Delete .DS_Store

* Delete .DS_Store

* remove DS file

* restore the gitignore file

* update the bdd lexer

* update the bdd lexer

* update the whitespace highlight

* update the whitespace highlight

* refactor the bdd.py

* update the punctuation

* update the punctuation

* update bdd token

Change "." to the "\S+",
Which reduce the test output file size.

Co-Authored-By: OMGJL <8707895+OMGJL@users.noreply.github.com>

* Update bdd.py

Reduce the new token for each space

Co-authored-by: Hongyuan Yan <hongyuan.yan@student.adelaide.edu.au>
Co-authored-by: OMGJL <lzhsjunkmail@gmail.com>
Co-authored-by: Hongyuan Yan <54675432+kirito330824@users.noreply.github.com>
Co-authored-by: Jessie2110 <71688609+Jessie2110@users.noreply.github.com>
Co-authored-by: Jessie2110 <wuqiong2110@gmail.com>
Co-authored-by: OMGJL <8707895+OMGJL@users.noreply.github.com>
2021-11-27 15:55:49 +01:00

344 lines
8 KiB
Text
Generated

'#!text' Comment
'\n' Text.Whitespace
'View' Text
' ' Text.Whitespace
'Quotes' Text
' ' Text.Whitespace
'should' Text
' ' Text.Whitespace
'do' Text
' ' Text.Whitespace
'something' Text
'\n' Text.Whitespace
'Meta:' Text
'\n' Text.Whitespace
'@verifies' Name.Label
' ' Text.Whitespace
'G989' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
'Feature' Keyword
':' Punctuation
' ' Text.Whitespace
'Serve' Text
' ' Text.Whitespace
'coffee' Text
'\n' Text.Whitespace
' ' Text.Whitespace
'Coffee' Text
' ' Text.Whitespace
'should' Text
' ' Text.Whitespace
'not' Text
' ' Text.Whitespace
'be' Text
' ' Text.Whitespace
'served' Text
' ' Text.Whitespace
'until' Text
' ' Text.Whitespace
'paid' Text
' ' Text.Whitespace
'for' Text
'\n' Text.Whitespace
' ' Text.Whitespace
'Coffee' Text
' ' Text.Whitespace
'should' Text
' ' Text.Whitespace
'not' Text
' ' Text.Whitespace
'be' Text
' ' Text.Whitespace
'served' Text
' ' Text.Whitespace
'until' Text
' ' Text.Whitespace
'the' Text
' ' Text.Whitespace
'button' Text
' ' Text.Whitespace
'has' Text
' ' Text.Whitespace
'been' Text
' ' Text.Whitespace
'pressed' Text
'\n' Text.Whitespace
' ' Text.Whitespace
'If' Text
' ' Text.Whitespace
'there' Text
' ' Text.Whitespace
'is' Text
' ' Text.Whitespace
'no' Text
' ' Text.Whitespace
'coffee' Text
' ' Text.Whitespace
'left' Text
' ' Text.Whitespace
'then' Text
' ' Text.Whitespace
'money' Text
' ' Text.Whitespace
'should' Text
' ' Text.Whitespace
'be' Text
' ' Text.Whitespace
'refunded' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
' ' Text.Whitespace
'Background' Keyword
':' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'Given' Keyword
' ' Text.Whitespace
'a' Text
' ' Text.Whitespace
'global' Text
' ' Text.Whitespace
'administrator' Text
' ' Text.Whitespace
'named' Text
' ' Text.Whitespace
'"Greg"' Literal.String
'\n' Text.Whitespace
' ' Text.Whitespace
'And' Keyword
' ' Text.Whitespace
'a' Text
' ' Text.Whitespace
'blog' Text
' ' Text.Whitespace
'named' Text
' ' Text.Whitespace
'"Greg\'s anti-tax rants"' Literal.String
'\n' Text.Whitespace
' ' Text.Whitespace
'And' Keyword
' ' Text.Whitespace
'a' Text
' ' Text.Whitespace
'customer' Text
' ' Text.Whitespace
'named' Text
' ' Text.Whitespace
'"Dr. Bill"' Literal.String
'\n' Text.Whitespace
' ' Text.Whitespace
'And' Keyword
' ' Text.Whitespace
'a' Text
' ' Text.Whitespace
'blog' Text
' ' Text.Whitespace
'named' Text
' ' Text.Whitespace
'"Expensive Therapy"' Literal.String
' ' Text.Whitespace
'owned' Text
' ' Text.Whitespace
'by' Text
' ' Text.Whitespace
'"Dr. Bill"' Literal.String
'\n' Text.Whitespace
'\n' Text.Whitespace
' ' Text.Whitespace
'Scenario' Keyword
':' Punctuation
' ' Text.Whitespace
'Buy' Text
' ' Text.Whitespace
'last' Text
' ' Text.Whitespace
'coffee' Text
'\n' Text.Whitespace
' ' Text.Whitespace
'Given' Keyword
' ' Text.Whitespace
'there' Text
' ' Text.Whitespace
'are' Text
' ' Text.Whitespace
'1' Literal.Number
' ' Text.Whitespace
'coffees' Text
' ' Text.Whitespace
'left' Text
' ' Text.Whitespace
'in' Text
' ' Text.Whitespace
'the' Text
' ' Text.Whitespace
'machine' Text
'\n' Text.Whitespace
' ' Text.Whitespace
'And' Keyword
' ' Text.Whitespace
'I' Text
' ' Text.Whitespace
'have' Text
' ' Text.Whitespace
'deposited' Text
' ' Text.Whitespace
'1' Literal.Number
'$' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'When' Keyword
' ' Text.Whitespace
'I' Text
' ' Text.Whitespace
'press' Text
' ' Text.Whitespace
'the' Text
' ' Text.Whitespace
'coffee' Text
' ' Text.Whitespace
'button' Text
'\n' Text.Whitespace
' ' Text.Whitespace
'Then' Keyword
' ' Text.Whitespace
'I' Text
' ' Text.Whitespace
'should' Text
' ' Text.Whitespace
'be' Text
' ' Text.Whitespace
'served' Text
' ' Text.Whitespace
'a' Text
' ' Text.Whitespace
'coffee' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
' ' Text.Whitespace
'Scenario Outline' Keyword
':' Punctuation
' ' Text.Whitespace
'eating' Text
'\n' Text.Whitespace
' ' Text.Whitespace
'Given' Keyword
' ' Text.Whitespace
'there' Text
' ' Text.Whitespace
'are' Text
' ' Text.Whitespace
'<' Punctuation
'start' Name.Variable
'>' Punctuation
' ' Text.Whitespace
'cucumbers' Text
'\n' Text.Whitespace
' ' Text.Whitespace
'When' Keyword
' ' Text.Whitespace
'I' Text
' ' Text.Whitespace
'eat' Text
' ' Text.Whitespace
'<' Punctuation
'eat' Name.Variable
'>' Punctuation
' ' Text.Whitespace
'cucumbers' Text
'\n' Text.Whitespace
' ' Text.Whitespace
'Then' Keyword
' ' Text.Whitespace
'I' Text
' ' Text.Whitespace
'should' Text
' ' Text.Whitespace
'have' Text
' ' Text.Whitespace
'<' Punctuation
'left' Name.Variable
'>' Punctuation
' ' Text.Whitespace
'cucumbers' Text
'\n' Text.Whitespace
'\n' Text.Whitespace
' ' Text.Whitespace
'Examples' Keyword
':' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'|' Punctuation
' ' Text.Whitespace
'start' Text
' ' Text.Whitespace
'|' Punctuation
' ' Text.Whitespace
'eat' Text
' ' Text.Whitespace
'|' Punctuation
' ' Text.Whitespace
'left' Text
' ' Text.Whitespace
'|' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'|' Punctuation
' ' Text.Whitespace
'12' Literal.Number
' ' Text.Whitespace
'|' Punctuation
' ' Text.Whitespace
'5' Literal.Number
' ' Text.Whitespace
'|' Punctuation
' ' Text.Whitespace
'7' Literal.Number
' ' Text.Whitespace
'|' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'|' Punctuation
' ' Text.Whitespace
'20' Literal.Number
' ' Text.Whitespace
'|' Punctuation
' ' Text.Whitespace
'5' Literal.Number
' ' Text.Whitespace
'|' Punctuation
' ' Text.Whitespace
'15' Literal.Number
' ' Text.Whitespace
'|' Punctuation
'\n' Text.Whitespace