Navigation: CodeStencil > Code Tree > Nodes |
Nodes are at the core of CodeStencil's code generation architecture. Without nodes you don't have the content to use for code generation.
These are some terms you need to know in order to fully understand how these nodes work.
❑ Node Labels - This is the text shown on a node and it identifies a node. You can have multiple nodes with the same label within a branch. The only issue with this is that the last node will overwrite any code generated by the first node with the same name.
1.Models is the node label of this folder node.
2.[%DB_CONTEXT%].cs is the node label of this file node.
3.{%CS_TABLE_LIST%] is the node label of this file node.
4.Index.cshtml {2} is the node label of this file node
However, using Bracers, you can force the generated text to be concatenated in both nodes.
❑ Node Types - These are the different types of nodes and they determine how your code will be generated. The type of Node also determines what you see in the context menu. See Node Types