Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
12cd22f4
Commit
12cd22f4
authored
Mar 16, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add index support to context
parent
3598e8fd
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
272 additions
and
16 deletions
+272
-16
template.cpp
src/template.cpp
+269
-13
template.h
src/template.h
+3
-3
No files found.
src/template.cpp
View file @
12cd22f4
This diff is collapsed.
Click to expand it.
src/template.h
View file @
12cd22f4
...
...
@@ -191,12 +191,12 @@ class TemplateVariant
/** Returns the pointer to list referenced by this variant
* or 0 if this variant does not have list type.
*/
const
TemplateListIntf
*
toList
()
const
;
TemplateListIntf
*
toList
()
const
;
/** Returns the pointer to struct referenced by this variant
* or 0 if this variant does not have struct type.
*/
const
TemplateStructIntf
*
toStruct
()
const
;
TemplateStructIntf
*
toStruct
()
const
;
/** Return the result of apply this function with \a args.
* Returns an empty string if the variant type is not a function.
...
...
@@ -399,7 +399,7 @@ class TemplateSpacelessIntf
* A key is searched starting with the dictionary at the top of the stack
* and searching downwards until it is found. The stack is used to create
* local scopes.
* @note This object must be created by TemplateEngine
* @note This object must be created by TemplateEngine
::createContext()
*/
class
TemplateContext
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment