ホーム > purgecss > VariablesStructure

VariablesStructure クラス

シグネチャ

export declare class VariablesStructure 

プロパティ

プロパティ修飾子タイプ説明
nodesMap<string, VariableNode[]>
safelistStringRegExpArray
usedVariablesSet<string>

メソッド

メソッド修飾子説明
addVariable(declaration)
addVariableUsage(declaration, matchedVariables)
addVariableUsageInProperties(matchedVariables)
isVariablesSafelisted(variable)
removeUnused()
setAsUsed(variableName)