Home
last modified time | relevance | path

Searched refs:TurbineError (Results 1 – 24 of 24) sorted by relevance

/external/turbine/javatests/com/google/turbine/parse/
DParseErrorTest.java24 import com.google.turbine.diag.TurbineError;
42 } catch (TurbineError e) { in intBound()
56 } catch (TurbineError e) { in hexIntBound()
67 } catch (TurbineError e) { in unexpectedTopLevel()
84 } catch (TurbineError e) { in unexpectedIdentifier()
101 } catch (TurbineError e) { in missingTrailingCloseBrace()
118 } catch (TurbineError e) { in annotationArgument()
135 } catch (TurbineError e) { in dropParens()
152 } catch (TurbineError e) { in dropBlocks()
169 } catch (TurbineError e) { in unterminatedString()
[all …]
/external/turbine/java/com/google/turbine/diag/
DTurbineError.java24 public class TurbineError extends Error { class
69 public static TurbineError format(SourceFile source, ErrorKind kind, Object... args) { in format()
70 return new TurbineError(ImmutableList.of(TurbineDiagnostic.format(source, kind, args))); in format()
80 public static TurbineError format( in format()
82 return new TurbineError( in format()
88 public TurbineError(ImmutableList<TurbineDiagnostic> diagnostics) { in TurbineError() method in TurbineError
DTurbineLog.java20 import com.google.turbine.diag.TurbineError.ErrorKind;
35 throw new TurbineError(ImmutableList.copyOf(errors)); in maybeThrow()
DTurbineDiagnostic.java28 import com.google.turbine.diag.TurbineError.ErrorKind;
/external/turbine/java/com/google/turbine/parse/
DVariableInitializerParser.java21 import com.google.turbine.diag.TurbineError;
22 import com.google.turbine.diag.TurbineError.ErrorKind;
342 private TurbineError error(ErrorKind kind, Object... args) { in error()
343 return TurbineError.format( in error()
DStreamLexer.java23 import com.google.turbine.diag.TurbineError;
24 import com.google.turbine.diag.TurbineError.ErrorKind;
1105 private TurbineError error(ErrorKind kind, Object... args) { in error()
1106 return TurbineError.format(reader.source(), reader.position(), kind, args); in error()
DConstExpressionParser.java23 import com.google.turbine.diag.TurbineError;
24 import com.google.turbine.diag.TurbineError.ErrorKind;
578 throw TurbineError.format(lexer.source(), pos, ErrorKind.INVALID_ANNOTATION_ARGUMENT); in annotation()
594 private TurbineError error(ErrorKind kind, Object... args) { in error()
595 return TurbineError.format(lexer.source(), lexer.position(), kind, args); in error()
DParser.java31 import com.google.turbine.diag.TurbineError;
32 import com.google.turbine.diag.TurbineError.ErrorKind;
837 throw TurbineError.format(lexer.source(), expressionStart, ErrorKind.UNTERMINATED_EXPRESSION); in fieldRest()
1374 TurbineError error(Token token) { in error()
1386 private TurbineError error(ErrorKind kind, Object... args) { in error()
1387 return TurbineError.format( in error()
/external/turbine/java/com/google/turbine/binder/lookup/
DMemberImportIndex.java26 import com.google.turbine.diag.TurbineError;
27 import com.google.turbine.diag.TurbineError.ErrorKind;
100 throw TurbineError.format( in resolveNext()
DImportIndex.java27 import com.google.turbine.diag.TurbineError.ErrorKind;
/external/turbine/javatests/com/google/turbine/binder/
DBinderErrorTest.java25 import com.google.turbine.diag.TurbineError;
594 } catch (TurbineError e) { in test()
DBinderTest.java30 import com.google.turbine.diag.TurbineError;
198 } catch (TurbineError e) { in cycle()
/external/turbine/java/com/google/turbine/binder/
DModuleBinder.java41 import com.google.turbine.diag.TurbineError;
42 import com.google.turbine.diag.TurbineError.ErrorKind;
224 private TurbineError error(ErrorKind kind, int pos, Object... args) { in error()
225 return TurbineError.format(module.source(), pos, kind, args); in error()
DCompUnitPreprocessor.java27 import com.google.turbine.diag.TurbineError;
28 import com.google.turbine.diag.TurbineError.ErrorKind;
140 throw TurbineError.format( in preprocessChildren()
DDisambiguateTypeAnnotations.java34 import com.google.turbine.diag.TurbineError;
35 import com.google.turbine.diag.TurbineError.ErrorKind;
261 throw TurbineError.format( in groupRepeated()
DBinder.java54 import com.google.turbine.diag.TurbineError;
55 import com.google.turbine.diag.TurbineError.ErrorKind;
145 throw TurbineError.format( in bindSourceBoundClasses()
DConstEvaluator.java41 import com.google.turbine.diag.TurbineError;
42 import com.google.turbine.diag.TurbineError.ErrorKind;
1019 private TurbineError error(int position, ErrorKind kind, Object... args) { in error()
1020 return TurbineError.format(source, position, kind, args); in error()
1030 } catch (TurbineError | ConstCastError error) { in evalFieldInitializer()
DHierarchyBinder.java30 import com.google.turbine.diag.TurbineError.ErrorKind;
DTypeBinder.java39 import com.google.turbine.diag.TurbineError.ErrorKind;
/external/turbine/java/com/google/turbine/types/
DCanonicalize.java26 import com.google.turbine.diag.TurbineError;
27 import com.google.turbine.diag.TurbineError.ErrorKind;
387 throw TurbineError.format(source, position, ErrorKind.CLASS_FILE_NOT_FOUND, canonOwner); in getInfo()
/external/turbine/javatests/com/google/turbine/main/
DMainTest.java28 import com.google.turbine.diag.TurbineError;
75 } catch (TurbineError e) { in sourceJarClash()
/external/turbine/java/com/google/turbine/main/
DMain.java34 import com.google.turbine.diag.TurbineError;
79 } catch (TurbineError | UsageException e) { in main()
/external/turbine/javatests/com/google/turbine/lower/
DLowerTest.java39 import com.google.turbine.diag.TurbineError;
544 } catch (TurbineError error) { in missingOuter()
603 } catch (TurbineError error) { in missingOuter2()
/external/turbine/java/com/google/turbine/lower/
DLower.java64 import com.google.turbine.diag.TurbineError;
65 import com.google.turbine.diag.TurbineError.ErrorKind;
421 throw TurbineError.format(source, ErrorKind.CLASS_FILE_NOT_FOUND, sym); in addEnclosing()