Make alias visit public in src/dfmt/ast_info.FormatVisitor

This commit is contained in:
RazvanN7 2018-01-25 13:30:34 +02:00
parent 7004683d9d
commit d88e1fa5dd
1 changed files with 2 additions and 1 deletions

View File

@ -90,6 +90,8 @@ struct ASTInformation
/// Collects information from the AST that is useful for the formatter /// Collects information from the AST that is useful for the formatter
final class FormatVisitor : ASTVisitor final class FormatVisitor : ASTVisitor
{ {
alias visit = ASTVisitor.visit;
/** /**
* Params: * Params:
* astInformation = the AST information that will be filled in * astInformation = the AST information that will be filled in
@ -295,5 +297,4 @@ final class FormatVisitor : ASTVisitor
private: private:
ASTInformation* astInformation; ASTInformation* astInformation;
alias visit = ASTVisitor.visit;
} }