mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Add support for apexdoc (based on java javadoc support)
This commit is contained in:
parent
9498adec54
commit
40dfb97e56
2 changed files with 26 additions and 0 deletions
|
|
@ -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) {} } }',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue