Enum SenderKind
- java.lang.Object
-
- java.lang.Enum<SenderKind>
-
- ru.ispras.microtesk.translator.antlrex.log.SenderKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SenderKind>
public enum SenderKind extends java.lang.Enum<SenderKind>
The SenderKind enumeration identifies the subsystem responsible for raising an event to be registered in the log.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMITTER
Code generation logic (MicroTESK).LEXER
The lexer class (generated by ANTLR).PARSER
The parser class (generated by ANTLR).SEMANTIC
The semantic analyzer built on top of the tree parser (MicroTESK).SYNTACTIC
The syntactic analyzer built on top of the parser (MicroTESK)TREEWALKER
The tree parser class (generated by ANTLR).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SenderKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SenderKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEXER
public static final SenderKind LEXER
The lexer class (generated by ANTLR).
-
PARSER
public static final SenderKind PARSER
The parser class (generated by ANTLR).
-
SYNTACTIC
public static final SenderKind SYNTACTIC
The syntactic analyzer built on top of the parser (MicroTESK)
-
TREEWALKER
public static final SenderKind TREEWALKER
The tree parser class (generated by ANTLR).
-
SEMANTIC
public static final SenderKind SEMANTIC
The semantic analyzer built on top of the tree parser (MicroTESK).
-
EMITTER
public static final SenderKind EMITTER
Code generation logic (MicroTESK).
-
-
Method Detail
-
values
public static SenderKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SenderKind c : SenderKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SenderKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-