123456789101112131415161718192021222324252627282930313233343536 |
- package ini
- func newStatement() AST {
- return newAST(ASTKindStatement, AST{})
- }
- func newSectionStatement(tok Token) AST {
- return newASTWithRootToken(ASTKindSectionStatement, tok)
- }
- func newExprStatement(ast AST) AST {
- return newAST(ASTKindExprStatement, ast)
- }
- func newCommentStatement(tok Token) AST {
- return newAST(ASTKindCommentStatement, newExpression(tok))
- }
- func newCompletedSectionStatement(ast AST) AST {
- return newAST(ASTKindCompletedSectionStatement, ast)
- }
- func newSkipStatement(ast AST) AST {
- return newAST(ASTKindSkipStatement, ast)
- }
|