From bc5ba47b281ec74a68da0d4473d30cdc70e316b4 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 28 Feb 2018 21:14:04 +0100 Subject: [PATCH] Add links to component docs --- README.md | 2 +- doc/2_Usage_of_basic_components.markdown | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0551a8c..1b9b114 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ Documentation Component documentation: - * [Walking the AST](component/Walking_the_AST.markdown) + * [Walking the AST](doc/component/Walking_the_AST.markdown) * Node visitors * Modifying the AST from a visitor * Short-circuiting traversals diff --git a/doc/2_Usage_of_basic_components.markdown b/doc/2_Usage_of_basic_components.markdown index 237f614..4755f17 100644 --- a/doc/2_Usage_of_basic_components.markdown +++ b/doc/2_Usage_of_basic_components.markdown @@ -254,6 +254,8 @@ single expression using `prettyPrintExpr()`. The `prettyPrintFile()` method can be used to print an entire file. This will include the opening ` Read more: [Pretty printing documentation](component/Pretty_printing.markdown) + Node traversation ----------------- @@ -348,6 +350,8 @@ be `array(A, X, Y, Z, C)`. Instead of manually implementing the `NodeVisitor` interface you can also extend the `NodeVisitorAbstract` class, which will define empty default implementations for all the above methods. +> Read more: [Walking the AST](component/Walking_the_AST.markdown) + The NameResolver node visitor ----------------------------- @@ -370,6 +374,8 @@ are meant. Also the `NameResolver` adds a `namespacedName` subnode to class, function and constant declarations that contains the namespaced name instead of only the shortname that is available via `name`. +> Read more: [Name resolution documentation](component/Name_resolution.markdown) + Example: Converting namespaced code to pseudo namespaces --------------------------------------------------------