il2cpp-dump-analyzer-mcp
Version:
Agentic RAG system for analyzing IL2CPP dump.cs files from Unity games
71 lines (70 loc) • 1.72 kB
TypeScript
import { IL2CPPNestedType } from './enhanced-types';
/**
* Parser for IL2CPP nested types including compiler-generated types
*/
export declare class NestedTypeParser {
/**
* Parse nested types from class body
*/
parseNestedTypes(classBody: string, parentClassName: string, parentNamespace: string): IL2CPPNestedType[];
/**
* Match nested type declarations
*/
private matchNestedTypeDeclaration;
/**
* Extract nested type information including body
*/
private extractNestedTypeInfo;
/**
* Extract nested type name from full name
*/
private extractNestedName;
/**
* Extract type body (everything between braces)
*/
private extractTypeBody;
/**
* Calculate nesting level based on dots in full name
*/
private calculateNestingLevel;
/**
* Check if type is compiler generated
*/
private isCompilerGenerated;
/**
* Identify the type of compiler-generated class
*/
private identifyCompilerGeneratedType;
/**
* 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 attributes from attribute string
*/
private parseAttributes;
/**
* Parse fields from type body
*/
private parseFields;
/**
* Parse methods from type body
*/
private parseMethods;
/**
* Parse method parameters
*/
private parseParameters;
/**
* Check if a type is generic
*/
private isGenericType;
}