Home | History | Annotate | Download | only in gn

Lines Matching refs:Template

5 #include "tools/gn/template.h"
14 Template::Template(const Scope* scope, const FunctionCallNode* def)
19 Template::Template(scoped_ptr<Scope> scope, const FunctionCallNode* def)
24 Template::~Template() {
27 Value Template::Invoke(Scope* scope,
38 // so we can pass ownership to the template.
48 // Set up the scope to run the template and set the current directory for the
49 // template (which ScopePerFileProvider uses to base the target-related
59 // Targets defined in the template go in the collector for the invoking file.
63 // setting it in the template scope (since the invocation scope may have
81 // Actually run the template code.
88 // of things the caller meant to pass to the template but the template didn't
91 // This is a bit tricky because it's theoretically possible for the template
101 // Check for unused variables in the template itself.
108 LocationRange Template::GetDefinitionRange() const {