C# Class MoreInternals.Compiler.Tasks.Verify

Task which does all sorts of "post CSS generation" checks for correctness. This checks that media-queries make sense, and that cycle() doesn't violate some constraints. In the future, this may come to mean all sorts of "property x should be of type y" sorts of checks.
Show file Open project: kevin-montrose/More

Public Methods

Method Description
Task ( List blocks ) : List

Private Methods

Method Description
IsSetFeature ( Model type, string featureName ) : bool
IsValidFeature ( string featureName ) : bool
IsValidMinMax ( string featureName ) : bool
IsValidTypeFor ( string featureName, Value value ) : bool
VerifyColorStop ( Value value ) : void
VerifyCubicBezier ( IEnumerable values ) : void
VerifyCycle ( IEnumerable values ) : void
VerifyLinearGradient ( IEnumerable values ) : void
VerifyPossible ( MediaQuery query, IPosition on ) : void
VerifyQuery ( MediaQuery query ) : void
VerifySteps ( IEnumerable values ) : void
VerifyTypes ( MediaQuery query ) : void

Method Details

Task() public static method

public static Task ( List blocks ) : List
blocks List
return List