3a567abb51
This uses a separate, lower-level AST than the parser so that it can retain the raw tokens and make surgical changes. As a consequence it has much less semantic detail than the parser AST, and in particular doesn't represent the structure of expressions except to retain variable references to enable global rename operations.
8 lines
352 B
Go
8 lines
352 B
Go
// Package zclwrite deals with the problem of generating zcl configuration
|
|
// and of making specific surgical changes to existing zcl configurations.
|
|
//
|
|
// It operates at a different level of abstraction that the main zcl parser
|
|
// and AST, since details such as the placement of comments and newlines
|
|
// are preserved when unchanged.
|
|
package zclwrite
|