-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RakuAST: allow constants in rakudoc configs
- move the literalization of configs to CHECK time - adapt deparsing of ::Doc::Block accordingly - fix .(w|s)orry-ad-hoc methods on ::Doc - add $!resolved-config attribute to ::Doc::Block - recursively visit ::Doc::Block.paragraphs for config literalization - allow optional literalization of resolved ::Var::Lexical - add literalization of ::VarDeclaration::Constant Sadly, this does not allow 'my constant foo = 42' to work, as these are ASTed as ::Term::Name. I guess we need a ::Term::Name::Constant?
- Loading branch information
Showing
6 changed files
with
108 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters