Guest User

Untitled

a guest
Jul 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. ## manifest
  2. class foo::bar {
  3. notice("foo::bar")
  4. }
  5.  
  6. define foo::def {
  7. notice($name)
  8. }
  9.  
  10. class baz {
  11. search "foo"
  12.  
  13. include bar
  14. def{"foo": }
  15. }
  16.  
  17. include baz
  18.  
  19. ## output
  20. notice: Scope(Class[foo::bar]): foo::bar
  21. notice: Scope(Foo::Def[foo]): foo
Add Comment
Please, Sign In to add comment