update inbox list
This commit is contained in:
15
vendor/scrivo/highlight.php/test/detect/swift/default.txt
vendored
Normal file
15
vendor/scrivo/highlight.php/test/detect/swift/default.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import Foundation
|
||||
|
||||
@objc class Person: Entity {
|
||||
var name: String!
|
||||
var age: Int!
|
||||
|
||||
init(name: String, age: Int) {
|
||||
/* /* ... */ */
|
||||
}
|
||||
|
||||
// Return a descriptive string for this person
|
||||
func description(offset: Int = 0) -> String {
|
||||
return "\(name) is \(age + offset) years old"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user