Documentation
¶
Index ¶
- func ExpandCompactSyntaxWithState(parsed *parser.CompactFile, tree *walk.CompactModel, fileID uint32, ...) (CompactResult, *State)
- func ExpandCompactWithState(parsed *parser.File, tree *walk.Model, fileID uint32, initial *State, ...) (CompactResult, *State)
- func ExpandWithState(parsed *parser.File, tree *walk.Model, fileID uint32, initial *State, ...) (Result, *State)
- type CompactResult
- type Result
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandCompactSyntaxWithState ¶
func ExpandCompactSyntaxWithState(parsed *parser.CompactFile, tree *walk.CompactModel, fileID uint32, initial *State, imports map[int]*State) (CompactResult, *State)
func ExpandCompactWithState ¶
Types ¶
type CompactResult ¶
type CompactResult struct {
Source []byte
Parsed *parser.CompactFile
Complete bool
Changed bool
}
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) ExpandIdentifier ¶ added in v1.0.5
ExpandIdentifier expands an object-like macro without changing the state.
func (*State) TagAliases ¶ added in v1.7.35
Click to show internal directories.
Click to hide internal directories.