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
2bd3c0ef
Commit
2bd3c0ef
authored
Mar 23, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'template'
parents
bfc2c287
12cd22f4
Changes
2
Expand all
Show 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 @
2bd3c0ef
This diff is collapsed.
Click to expand it.
src/template.h
View file @
2bd3c0ef
...
@@ -191,12 +191,12 @@ class TemplateVariant
...
@@ -191,12 +191,12 @@ class TemplateVariant
/** Returns the pointer to list referenced by this variant
/** Returns the pointer to list referenced by this variant
* or 0 if this variant does not have list type.
* 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
/** Returns the pointer to struct referenced by this variant
* or 0 if this variant does not have struct type.
* 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.
/** Return the result of apply this function with \a args.
* Returns an empty string if the variant type is not a function.
* Returns an empty string if the variant type is not a function.
...
@@ -399,7 +399,7 @@ class TemplateSpacelessIntf
...
@@ -399,7 +399,7 @@ class TemplateSpacelessIntf
* A key is searched starting with the dictionary at the top of the stack
* 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
* and searching downwards until it is found. The stack is used to create
* local scopes.
* local scopes.
* @note This object must be created by TemplateEngine
* @note This object must be created by TemplateEngine
::createContext()
*/
*/
class
TemplateContext
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