import { GalaceanDataType } from "../common"; import { BaseToken } from "../common/BaseToken"; import { ASTNode, TreeNode } from "./AST"; import { NoneTerminal } from "./GrammarSymbol"; export type TraceStackItem = NoneTerminal | BaseToken; export declare class SymbolType { type: GalaceanDataType; typeLexeme: string; arraySpecifier?: ASTNode.ArraySpecifier; constructor(type: GalaceanDataType, typeLexeme: string, arraySpecifier?: ASTNode.ArraySpecifier); } export declare class StructProp implements IParamInfo { typeInfo: SymbolType; ident: BaseToken; mrtIndex?: number; isInMacroBranch: boolean; constructor(typeInfo: SymbolType, ident: BaseToken, mrtIndex?: number, isInMacroBranch?: boolean); } export type NodeChild = TreeNode | BaseToken; export type IParamInfo = { ident?: BaseToken; typeInfo?: SymbolType; astNode?: ASTNode.ParameterDeclaration | ASTNode.MacroParamBlock; };