Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " Vim syntax file
- " Language: USE
- if(exists("b:current_syntax"))
- finish
- endif
- syn keyword basicLanguageKeywords abstract aggregation association associationclass attributes begin between class composition constraints context derived do else end endif enum for if in init inv let model operations ordered post pre psm qualifier redefines result role statemachines states subsets then transitions
- syn match variableName '\s+'
- syn keyword dataTypeKeywords Bag Boolean Collection Integer OrderedSet Real Sequence Set String TupleType nextgroup=variableName
- syn keyword builtinFunctions Tuple allInstances and any append asBag asOrderedSet asSequence asSet at characters closure collecNested collect concat count div equalsIgnoreCase excludes excludesAll excluding exists false first flatten floor forAll forall implies includes includesAll including indexOf insertAt intersection isEmpty isUnique iterate last max min mod not notEmpty oclAsType oclIsInState oclIsKindOf oclIsNew oclIsTypeOf one or prepend product reject reverse round select selectByKind selectByType self size sortedBy subOrderedSet subSequence substring sum symmetricDifference toBoolean toInteger toLowerCase toReal toString toUpperCase true union xor
- syn keyword operators := ReadInteger ReadLine Write WriteLine between create declare delete destroy from insert into new
- syn keyword comment --
- let b:current_syntax = "use"
- hi def link comment Comment
- hi def link dataTypeKeywords Type
- hi def link basicLanguageKeywords Statement
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement