| // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| // This program and the accompanying materials are made available |
| // under the terms of the Eclipse Public License v2.0 which accompanies |
| // this distribution, and is available at |
| // https://www.eclipse.org/legal/epl-2.0/ |
| |
| package org.eclipse.wst.jsdt.chromium.internal; |
| |
| import org.eclipse.wst.jsdt.chromium.internal.browserfixture.FixtureChromeStub.FixtureParser; |
| |
| /** |
| * An accessor to dynamic implementation of a fixture parser. Should be replaceable with a similar |
| * class that provides access to generated parser implementation. |
| */ |
| public class FixtureParserAccess { |
| public static FixtureParser get() { |
| return FIXTURE_PARSER; |
| } |
| |
| private static final FixtureParser FIXTURE_PARSER = FixtureDynamicParser.create().getParserRoot(); |
| } |