State GetDirectiveName ()
{
int start = position;
for (; position < content.Length; position++) {
char c = content[position];
if (!Char.IsLetterOrDigit (c)) {
value = content.Substring (start, position - start);
return State.Directive;
} else {
nextStateLocation = nextStateLocation.AddCol ();
}
}
throw new ParserException ("Unexpected end of file.", nextStateLocation);
}