iska
27c020371d
Rename NSString category method for clarity and add category tests
2015-04-16 20:37:49 +02:00
iska
d8a55db4dc
Change the implementation of the character token and string methods to reduce initialization overhead
...
All methods operate on the same NSString instance instead of creating a new character token, e.g. when
trimming or splitting the leading whitespace.
2015-04-12 18:33:10 +02:00
iska
a2fcdf834b
Add character token method to split it from a given index
2015-03-07 00:43:00 +01:00
iska
cb9570c9e1
Add NSString category for HTML related methods
...
Also remove macros scattered throughout the code and use category consistently
2015-03-02 22:36:03 +01:00
iska
6217bc4299
Add Character Token methods for splitting leading whitespace
...
Since all successive characters are accumulated into the character token in the
tokenization stage, leading whitespace must be explicitly ignored during the tree
construction, hence these methods.
2015-03-01 03:27:24 +01:00
iska
fc5ec2c2e4
Add warning pragma in Character token for caching character set
2015-02-28 01:04:21 +01:00
iska
6eccc61684
Rename utility method in Token classes for better semantics
2015-02-28 00:58:55 +01:00
iska
4e3c758f8c
Add initial implementation for "appropriate place for inserting a node"
...
https://html.spec.whatwg.org/multipage/syntax.html#creating-and-inserting-nodes
2015-02-22 01:46:13 +01:00
iska
e896c1fe0b
Fix initial values for HTML Tokens and handle nil-parameter
2014-10-30 21:15:12 +01:00
iska
d5a00713ad
Fix equality methods in HTML token classes for the nil-cases
2014-10-26 22:27:58 +01:00
iska
e43d7c21d1
Change tokenzing to concatenate all adjacent character tokens into one
2014-10-26 18:11:21 +01:00
iska
141310f910
Add equality and hash method for HTML Token classes
2014-10-26 01:54:30 +02:00
iska
0a92fb8eb4
Add description methods for HTML tokens
2014-10-25 01:07:23 +02:00
iska
d4401c0f17
Remove UTF32Char option for character tokens and use strings only
2014-10-25 01:06:55 +02:00
iska
5d3ea61a04
Refactor HTML Tokens into separate files
2014-10-23 23:52:43 +02:00