Documentation
¶
Overview ¶
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
const NAME = "huloc.yaml"
NAME is the default configuration file name.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BashOptions ¶
type BashOptions struct { MultiString string `json:"multiString"` BooleanFormat string `json:"booleanFormat" validate:"oneof=number string command"` }
BashOptions is the configuration for the Bash compiler.
type BatchOptions ¶
type BatchOptions struct {
CommentSyntax string `json:"commentSyntax" validate:"oneof=rem double_colon"`
}
BatchOptions is the configuration for the Batch compiler.
type CompilerOptions ¶
type CompilerOptions struct { Bash *BashOptions `json:"bash"` Batch *BatchOptions `json:"batch"` VBScript *VBScriptOptions `json:"vbs"` }
CompilerOptions is the configuration for the compiler.
type Huloc ¶
type Huloc struct { CompilerOptions CompilerOptions `json:"compilerOptions"` Main string `json:"main" validate:"required,endswith=.hl"` Language Language `json:"language"` Include []string `json:"include"` Exclude []string `json:"exclude"` HULOPATH string `json:"hulopath"` }
Huloc is the configuration for the Hulo compiler.
type VBScriptOptions ¶
type VBScriptOptions struct {
CommentSyntax string `json:"commentSyntax" validate:"oneof=rem single_quote"`
}
VBScriptOptions is the configuration for the VBScript compiler.