W3cubDocs

/Haxe

ModuleCheckPolicy(Int)

package haxe.macro

import haxe.macro.CompilationServer

Available on all platforms

Variables

@:value(cast 1) @:enum @:impl inline read only CheckFileContentModification:ModuleCheckPolicy = 1

If a file is modified, also checks if its content changed. This check is not free, but useful when .hx files are auto-generated.

@:value(cast 2) @:enum @:impl inline read only NoCheckDependencies:ModuleCheckPolicy = 2

Disables dependency checks of the module.

@:value(cast 0) @:enum @:impl inline read only NoCheckFileTimeModification:ModuleCheckPolicy = 0

Disables file modification checks, avoiding some filesystem operations.

@:value(cast 3) @:enum @:impl inline read only NoCheckShadowing:ModuleCheckPolicy = 3

Disables file shadowing checks. Shadowing can occur when a new file is added to a class-path that has higher priority than the class-path of the current module file.

Static variables

@:value(cast 1) @:enum @:impl static inline read only CheckFileContentModification:ModuleCheckPolicy = 1

If a file is modified, also checks if its content changed. This check is not free, but useful when .hx files are auto-generated.

@:value(cast 2) @:enum @:impl static inline read only NoCheckDependencies:ModuleCheckPolicy = 2

Disables dependency checks of the module.

@:value(cast 0) @:enum @:impl static inline read only NoCheckFileTimeModification:ModuleCheckPolicy = 0

Disables file modification checks, avoiding some filesystem operations.

@:value(cast 3) @:enum @:impl static inline read only NoCheckShadowing:ModuleCheckPolicy = 3

Disables file shadowing checks. Shadowing can occur when a new file is added to a class-path that has higher priority than the class-path of the current module file.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/ModuleCheckPolicy.html