specify charsets for all locales
[yosql.git] / yosql-codegen / src / main / java / wtf / metio / yosql / codegen / lifecycle / ParseLifecycle.java
blobef1b822b4e85891a5f3719b54142c0587d86d761
1 /*
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
5 * in the LICENSE file.
6 */
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")
15 @LocaleData({
16 @Locale(value = "en", charset = "UTF-8"),
17 @Locale(value = "de", charset = "UTF-8"),
19 public enum ParseLifecycle {
21 /**
22 * Signals that files are about to be parsed.
24 PARSE_FILES,
26 /**
27 * Signals that a SQL statement is about to be parsed.
29 STATEMENT_PARSING_STARTING,
31 /**
32 * Signals that a SQL statement within a file was parsed.
34 STATEMENT_PARSED,
36 /**
37 * Signals that a YAML front-matter of a SQL statement was parsed.
39 STATEMENT_YAML_FRONT_MATTER_PARSED,
41 /**
42 * Signals that a SQL statement was parsed.
44 STATEMENT_PARSING_FINISHED,