Crinit::TokenEngine
Evaluates and interpolates substitution tokens across file contents and paths.
Constants
ESCAPED_CLOSE = "\u0000CRINIT_ESC_CLOSE\u0000"
ESCAPED_OPEN = "\u0000CRINIT_ESC_OPEN\u0000"
TOKEN_REGEX = /\{\{([a-zA-Z0-9_]+)\}\}/
Constructors
Class methods
Instance methods
dictionary
SourceRenders a string template, substituting recognized tokens while preserving unmapped macro delimiters and unescaping explicit macro escapes.