Lines Matching refs:tok
1017 var tok = new Tokenizer.Token( type, value );
1019 me.tokens.push( tok );
1022 return tok;
1109 function isNum( tok ) { argument
1110 return tok && tok.tokenType & Type.NUMBER;
1112 function isNumOrPct( tok ) { argument
1113 return tok && ( tok.tokenType & ( Type.NUMBER | Type.PERCENT ) );
1115 function isValue( tok, val ) { argument
1116 return tok && tok.tokenValue === val;
1932 slices = tokenizer.until( function( tok ) { argument
1933 return !( tok.tokenType & ( NUMBER | PERCENT ) );
2020 p.slice = distributeSides( slices, function( tok ) { argument
2021 … return PIE.getLength( ( tok.tokenType & NUMBER ) ? tok.tokenValue + 'px' : tok.tokenValue );
2025 p.widths = distributeSides( widths, function( tok ) { argument
2026 … return tok.isLengthOrPercent() ? PIE.getLength( tok.tokenValue ) : tok.tokenValue;
2031 p.outset = distributeSides( outsets, function( tok ) { argument
2032 return tok.isLength() ? PIE.getLength( tok.tokenValue ) : tok.tokenValue;