blob: 7cb3506f87f0ec93543971bc29cf58a590cedad1 [file] [log] [blame]
// Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.naming.signature;
/**
* Actions triggered by the generic signature parser.
*/
public interface GenericSignatureAction<T> {
enum ParserPosition {
CLASS_SUPER_OR_INTERFACE_ANNOTATION,
ENCLOSING_INNER_OR_TYPE_ANNOTATION,
MEMBER_ANNOTATION
}
public void parsedSymbol(char symbol);
public void parsedIdentifier(String identifier);
public T parsedTypeName(String name, ParserPosition isTopLevel);
public T parsedInnerTypeName(T enclosingType, String name);
public void start();
public void stop();
}