Add support for apexdoc (based on java javadoc support)

This commit is contained in:
olane 2018-08-10 12:37:20 +01:00
parent 9498adec54
commit 40dfb97e56
2 changed files with 26 additions and 0 deletions

View file

@ -198,6 +198,24 @@ testTokenization('apex', [
]
}],
// Comments - apex doc, multiple lines
[{
line: '/** start of Apex Doc',
tokens: [
{ startIndex: 0, type: 'comment.doc.apex' }
]
}, {
line: 'a comment between without a star',
tokens: [
{ startIndex: 0, type: 'comment.doc.apex' }
]
}, {
line: 'end of multiline comment*/',
tokens: [
{ startIndex: 0, type: 'comment.doc.apex' }
]
}],
// Keywords
[{
line: 'package test; class Program { static void main(String[] args) {} } }',