Lines Matching refs:context
45 /** The context key for the scanner factory. */
49 /** Get the Factory instance for this context. */
50 public static ScannerFactory instance(Context context) {
51 ScannerFactory instance = context.get(scannerFactoryKey);
53 instance = new ScannerFactory(context);
63 protected ScannerFactory(Context context) {
64 context.put(scannerFactoryKey, this);
65 this.log = Log.instance(context);
66 this.names = Names.instance(context);
67 this.source = Source.instance(context);
68 this.keywords = Keywords.instance(context);