2 * This file is part of yosql. It is subject to the license terms in the LICENSE file found in the top-level
3 * directory of this distribution and at https://creativecommons.org/publicdomain/zero/1.0/. No part of yosql,
4 * including this file, may be copied, modified, propagated, or distributed except according to the terms contained
8 package wtf
.metio
.yosql
.codegen
.lifecycle
;
10 import ch
.qos
.cal10n
.BaseName
;
11 import ch
.qos
.cal10n
.Locale
;
12 import ch
.qos
.cal10n
.LocaleData
;
14 @BaseName("parse-lifecycle")
16 @Locale(value
= "en", charset
= "UTF-8"),
17 @Locale(value
= "de", charset
= "UTF-8"),
19 public enum ParseLifecycle
{
22 * Signals that files are about to be parsed.
27 * Signals that a SQL statement is about to be parsed.
29 STATEMENT_PARSING_STARTING
,
32 * Signals that a SQL statement within a file was parsed.
37 * Signals that a YAML front-matter of a SQL statement was parsed.
39 STATEMENT_YAML_FRONT_MATTER_PARSED
,
42 * Signals that a SQL statement was parsed.
44 STATEMENT_PARSING_FINISHED
,