Sha256: 645c6e084b7f6b5e4f8d684f6c00fe3c663ea672704632435b01934d5330901d
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
""" AST nodes are an object representation of source files. For example for a source code containing only the following expression: Console println: hello An AST tree like the following will be created: Script: @body: ExpressionList @expressions: - MessageSend @receiver: Constant @string: Console @name: Identifier @string: println: @args: - Identifier @string: hello """ require: "ast/node" require: "ast/script" require: "ast/expression_list" require: "ast/identifier" require: "ast/message_send" require: "ast/future_send" require: "ast/async_send" require: "ast/method_spec" require: "ast/method_def" require: "ast/singleton_method_def" require: "ast/super" require: "ast/literals" require: "ast/assign" require: "ast/block" require: "ast/class_def" require: "ast/tuple_literal" require: "ast/range" require: "ast/match" require: "ast/try_catch" require: "ast/return" require: "ast/string_interpolation"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fancy-0.10.0 | lib/compiler/ast.fy |