/external/turbine/javatests/com/google/turbine/parse/ |
D | ParseErrorTest.java | 24 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/ |
D | TurbineError.java | 24 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
|
D | TurbineLog.java | 20 import com.google.turbine.diag.TurbineError.ErrorKind; 35 throw new TurbineError(ImmutableList.copyOf(errors)); in maybeThrow()
|
D | TurbineDiagnostic.java | 28 import com.google.turbine.diag.TurbineError.ErrorKind;
|
/external/turbine/java/com/google/turbine/parse/ |
D | VariableInitializerParser.java | 21 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()
|
D | StreamLexer.java | 23 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()
|
D | ConstExpressionParser.java | 23 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()
|
D | Parser.java | 31 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/ |
D | MemberImportIndex.java | 26 import com.google.turbine.diag.TurbineError; 27 import com.google.turbine.diag.TurbineError.ErrorKind; 100 throw TurbineError.format( in resolveNext()
|
D | ImportIndex.java | 27 import com.google.turbine.diag.TurbineError.ErrorKind;
|
/external/turbine/javatests/com/google/turbine/binder/ |
D | BinderErrorTest.java | 25 import com.google.turbine.diag.TurbineError; 594 } catch (TurbineError e) { in test()
|
D | BinderTest.java | 30 import com.google.turbine.diag.TurbineError; 198 } catch (TurbineError e) { in cycle()
|
/external/turbine/java/com/google/turbine/binder/ |
D | ModuleBinder.java | 41 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()
|
D | CompUnitPreprocessor.java | 27 import com.google.turbine.diag.TurbineError; 28 import com.google.turbine.diag.TurbineError.ErrorKind; 140 throw TurbineError.format( in preprocessChildren()
|
D | DisambiguateTypeAnnotations.java | 34 import com.google.turbine.diag.TurbineError; 35 import com.google.turbine.diag.TurbineError.ErrorKind; 261 throw TurbineError.format( in groupRepeated()
|
D | Binder.java | 54 import com.google.turbine.diag.TurbineError; 55 import com.google.turbine.diag.TurbineError.ErrorKind; 145 throw TurbineError.format( in bindSourceBoundClasses()
|
D | ConstEvaluator.java | 41 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()
|
D | HierarchyBinder.java | 30 import com.google.turbine.diag.TurbineError.ErrorKind;
|
D | TypeBinder.java | 39 import com.google.turbine.diag.TurbineError.ErrorKind;
|
/external/turbine/java/com/google/turbine/types/ |
D | Canonicalize.java | 26 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/ |
D | MainTest.java | 28 import com.google.turbine.diag.TurbineError; 75 } catch (TurbineError e) { in sourceJarClash()
|
/external/turbine/java/com/google/turbine/main/ |
D | Main.java | 34 import com.google.turbine.diag.TurbineError; 79 } catch (TurbineError | UsageException e) { in main()
|
/external/turbine/javatests/com/google/turbine/lower/ |
D | LowerTest.java | 39 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/ |
D | Lower.java | 64 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()
|