Created
October 24, 2013 15:27
-
-
Save valexey/7139263 to your computer and use it in GitHub Desktop.
Oberon getters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROCEDURE Pos* (self : Type): INTEGER ; RETURN self.pos END Pos; | |
PROCEDURE Size* (self : Type): INTEGER ; RETURN self.size END Size; | |
PROCEDURE Foo* (self : Type): REAL ; RETURN self.foo END Foo; | |
PROCEDURE Bar* (self : Type): INTEGER ; RETURN self.bar END Bar; | |
PROCEDURE Color* (self : Type): ColorT ; RETURN self.color END Color; | |
PROCEDURE Top* (self : Type): INTEGER ; RETURN self.top END Top; | |
PROCEDURE Width* (self : Type): INTEGER ; RETURN self.width END Width; | |
PROCEDURE Options* (self : Type): SET ; RETURN self.options END Options; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment