public enum TargetCodeGeneratorLoader extends Enum<TargetCodeGeneratorLoader> implements TargetCodeGenerator
CodeGenerators which target a language. This provides convenient short names rather than the
fully qualified class name of the generator.| Enum Constant and Description |
|---|
C
Generates codecs for the C11 programming language.
|
CPP
Generates codecs for the C++11 programming language with some conditional includes for C++14 and C++17.
|
GOLANG
Generates codecs for the Go programming language.
|
JAVA
Generates codecs for the Java 8 programming language.
|
RUST
Generates codecs for the Rust programming language.
|
| Modifier and Type | Method and Description |
|---|---|
static TargetCodeGenerator |
get(String name)
Do a case-insensitive lookup of a target language for code generation.
|
static PrecedenceChecks |
precedenceChecks()
Returns the precedence checks to run, configured from system properties.
|
static TargetCodeGeneratorLoader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetCodeGeneratorLoader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnewInstancepublic static final TargetCodeGeneratorLoader JAVA
public static final TargetCodeGeneratorLoader C
public static final TargetCodeGeneratorLoader CPP
public static final TargetCodeGeneratorLoader GOLANG
public static final TargetCodeGeneratorLoader RUST
public static TargetCodeGeneratorLoader[] values()
for (TargetCodeGeneratorLoader c : TargetCodeGeneratorLoader.values()) System.out.println(c);
public static TargetCodeGeneratorLoader valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PrecedenceChecks precedenceChecks()
public static TargetCodeGenerator get(String name)
name - of the target language to lookup.TargetCodeGenerator for the given language name.Copyright © 2013-2024 Real Logic Limited. All Rights Reserved.