class Myst::Require
- Myst::Require
- Myst::Node
- Reference
- Object
Overview
A require expression. Requires are the primary mechanism for loading code from other source files. Files will only be loaded once. If another require appears that references the same file, it will not be loaded again. The result of a require statement will be a boolean indicating whether the code was loaded.
'require' string
Defined in:
lib/myst/src/myst/syntax/ast.crext/myst/required_tree.cr
Instance Method Summary
- #accept_children(visitor)
- #required_tree : Node | Nil
- #required_tree=(required_tree : Node | Nil)
- #required_tree? : Node | Nil | Nil