Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instance Show Terminal where
- show (LiteralDecimal x) = show x
- show (LiteralInteiro x) = show x
- show (LiteralCaracter x) = show x
- show (LiteralString x) = show x
- show (LiteralBooleano x) = show x
- instance Show Tipo where
- show (TipoFloat) = "float"
- show (TipoInt) = "int"
- show (TipoChar) = "char"
- show (TipoString) = "String"
- show (TipoBoolean) = "boolean"
- show (TipoVoid) = "void"
- show (TipoNada) = ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement