Css.Spec.Repeated Class Reference

Detailed Description

Represents a{1,4}, a* and a+ in the CSS specification. A value is repeated x times.

Inheritance diagram for Css.Spec.Repeated:
Css.Spec.Value

Public Member Functions

 Repeated (Spec.Value toRepeat)
 Same as a*. More...
 
 Repeated (Spec.Value toRepeat, int min)
 Usually used for a+, where min is 1. More...
 
 Repeated (Spec.Value toRepeat, int min, bool comma)
 Usually used for a+, where min is 1. More...
 
 Repeated (Spec.Value toRepeat, int min, int max)
 Used for a{min,max}. More...
 
override bool OnReadValue (Style styleBlock, Css.Value value, int start, out int size)
 

Public Attributes

bool CommaSpacer
 The host value spacer. Either , or ' ' More...
 
Spec.Value ToRepeat
 The value being repeated. More...
 
int Minimum
 Min repetition times. More...
 
int Maximum =-1
 Max repetition times. -1 is unlimited. More...
 

Constructor & Destructor Documentation

Css.Spec.Repeated.Repeated ( Spec.Value  toRepeat)
inline

Same as a*.

Css.Spec.Repeated.Repeated ( Spec.Value  toRepeat,
int  min 
)
inline

Usually used for a+, where min is 1.

Css.Spec.Repeated.Repeated ( Spec.Value  toRepeat,
int  min,
bool  comma 
)
inline

Usually used for a+, where min is 1.

Css.Spec.Repeated.Repeated ( Spec.Value  toRepeat,
int  min,
int  max 
)
inline

Used for a{min,max}.

Member Function Documentation

override bool Css.Spec.Repeated.OnReadValue ( Style  styleBlock,
Css.Value  value,
int  start,
out int  size 
)
inlinevirtual

Reimplemented from Css.Spec.Value.

Member Data Documentation

bool Css.Spec.Repeated.CommaSpacer

The host value spacer. Either , or ' '

int Css.Spec.Repeated.Maximum =-1

Max repetition times. -1 is unlimited.

int Css.Spec.Repeated.Minimum

Min repetition times.

Spec.Value Css.Spec.Repeated.ToRepeat

The value being repeated.