]> git.r.bdr.sh - rbdr/api-notation.vim/blame - example-syntax.api
Updates example image
[rbdr/api-notation.vim] / example-syntax.api
CommitLineData
db91656c 1HypotheticalModule <IModuleInterface>
ff11ecc1
BB
2 +staticProperty <String>
3 +anotherStaticProperty <Boolean>
4 ::toggleAnotherStaticProperty()
5 ::setStaticProperty(newValue <String>)
6 -instanceProperty <Number>
7 -anotherInstanceProperty <String>
8 #instanceMethodSync([optionalParameter]<Boolean>) => resultOfCall <String>
9 #instanceMethodAsync(someValue <Number>, [callback] <Function>) ->(error <String|null>, result <Number|null>)
10
db91656c
BB
11
12// Comment
ff11ecc1 13EventHypotheticalClass
db91656c 14 +>AnotherClass<+staticEventToListen(eventData <PredefinedObject>) // More Comments
ff11ecc1
BB
15 <+staticEventDispatched(someData <SomeData>)
16 ~>listenedSocketEvent(eventData <SomeObject>)
17 <~dispatchedSocketEvent(eventData <BlaBla>)
18 ->AnotherClass<-instanceEventToListen(eventData <Object>)
19 <-instanceEventDispatched(specificDataType <DefinedObject>)