Class JavaCCErrors
java.lang.Object
org.javacc.parser.JavaCCErrors
Output error messages and keep track of totals.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidintintintintvoidparse_error(Object node, String mess) private voidprintLocationInfo(Object node) voidsemantic_error(Object node, String mess) voidsemantic_error(String mess) voidvoid
-
Field Details
-
parse_error_count
private int parse_error_count -
semantic_error_count
private int semantic_error_count -
warning_count
private int warning_count
-
-
Constructor Details
-
JavaCCErrors
JavaCCErrors()
-
-
Method Details
-
error
-
printLocationInfo
-
parse_error
-
get_parse_error_count
public int get_parse_error_count() -
semantic_error
-
semantic_error
-
get_semantic_error_count
public int get_semantic_error_count() -
warning
-
warning
-
get_warning_count
public int get_warning_count() -
get_error_count
public int get_error_count() -
fatal
-