il2cpp-dump-analyzer-mcp
Version:
Agentic RAG system for analyzing IL2CPP dump.cs files from Unity games
83 lines (82 loc) • 2.01 kB
TypeScript
import { IL2CPPGenericType, ClassInfo } from './enhanced-types';
/**
* Parser for IL2CPP generic types and their instantiations
*/
export declare class GenericParser {
/**
* Parse a generic type from class information
*/
parseGenericType(classInfo: ClassInfo): IL2CPPGenericType | null;
/**
* Parse generic parameters from type parameter string
*/
private parseGenericParameters;
/**
* Parse generic instantiations from method comments
*/
private parseGenericInstantiations;
/**
* Extract constraints for a generic parameter
*/
private extractConstraints;
/**
* Extract variance for a generic parameter
*/
private extractVariance;
/**
* Parse base class from inheritance string
*/
private parseBaseClass;
/**
* Parse interfaces from inheritance string
*/
private parseInterfaces;
/**
* Check if a type name represents an interface
*/
private isInterface;
/**
* Parse fields from class body
*/
private parseFields;
/**
* Parse methods from class body
*/
private parseMethods;
/**
* Match method declarations including generic methods
*/
private matchMethodDeclaration;
/**
* Parse method from regex match
*/
private parseMethodFromMatch;
/**
* Parse generic instantiations for a specific method
*/
private parseMethodGenericInstantiations;
/**
* Parse method parameters
*/
private parseParameters;
/**
* Parse attributes from attribute string
*/
private parseAttributes;
/**
* Check if a type is generic
*/
private isGenericType;
/**
* Extract namespace from declaration
*/
private extractNamespace;
/**
* Extract parent type from nested generic type name
*/
private extractParentType;
/**
* Check if the type is compiler generated
*/
private isCompilerGenerated;
}