Skip to content

寻找macro定义的功能 #58

Description

@HerringtonDarkholme

由于jedi可以在同一页面里有多个macro定义并相互覆盖,寻找macro的功能是必不可缺的

// parent.jedi
::span.macro1.macro2
  "I'm super"

// page.jedi
:import ./parent.jedi
::span.macro1 
   "I m marco1"

::span.macro2
  "I m macro2"

.span.macro1.macro2 = []
// 上面这句的定义到底指向谁?


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions