UNPKG

simc-ast-builder

Version:

Parser and AST generator for SimulationCraft files

20 lines 888 B
import { ExpressionType } from "./fieldUtils"; interface FieldDefinition { displayName: string; name: string; negatedName: string; type: ExpressionType; } type FieldEntry = [string, FieldDefinition]; type FieldType = "boolean" | "neutral" | "numeric"; interface ParamDefinition { type: ParamType; } type ParamEntry = [string, ParamDefinition]; type ParamType = "boolean" | "string" | "numeric" | "condition"; declare const FIELD_MAP: Record<string, FieldDefinition>; declare const PARAM_MAP: Record<string, ParamDefinition>; declare function getDefaultField(accessType: string): string | null; declare function getFieldDef(name: string): FieldDefinition; export { FIELD_MAP, getDefaultField, getFieldDef, PARAM_MAP, type FieldDefinition, type FieldEntry, type FieldType, type ParamDefinition, type ParamEntry, type ParamType, }; //# sourceMappingURL=fieldMaps.d.ts.map