Documentation
¶
Index ¶
Constants ¶
View Source
const ( TripleLessThanToken string = "<<<" TripleGreaterThanToken string = ">>>" DefaultDeclarationBlockStartToken string = TripleLessThanToken DefaultDeclarationBlockEndToken string = TripleGreaterThanToken JsonBlockType string = "json" JsonnetBlockType string = "jsonnet" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeclarationBlock ¶
func NewDeclarationBlock ¶
func NewDeclarationBlock(blockType string, contents []byte, filename string) (*DeclarationBlock, error)
type Preprocessor ¶
type Preprocessor struct {
// contains filtered or unexported fields
}
func NewPreprocessor ¶
func NewPreprocessor(declarationBlockStartToken, declarationBlockEndToken string) *Preprocessor
func (*Preprocessor) PrepareExternal ¶
Click to show internal directories.
Click to hide internal directories.