As the title states, I'd like to be able to use pre-existing declarations in other Pest files, for example:
base.pest
STRING = _{ "\"" ~ ANY+ "\"" }
some-other.pest
@use "base" // Or implicitly imported when it's found in the same directory.
SCHEMA = { SOI ~ "[" ~ base::STRING ~ "]" ~ EOI }
@use { STRING } from "base" // Or implicitly imported when it's found in Pest files in the same directory.
SCHEMA = { SOI ~ "[" ~ STRING ~ "]" ~ EOI }
As the title states, I'd like to be able to use pre-existing declarations in other Pest files, for example:
base.pest
some-other.pest