• Home
  • Raw
  • Download

Lines Matching refs:Lexer

4 from fontTools.feaLib.lexer import Lexer, IncludingLexer, NonIncludingLexer
56 if self.cur_token_type_ is Lexer.COMMENT:
62 elif self.cur_token_type_ is Lexer.GLYPHCLASS:
81 elif self.cur_token_type_ is Lexer.NAME and self.cur_token_ in self.extensions:
83 elif self.cur_token_type_ is Lexer.SYMBOL and self.cur_token_ == ";":
102 if self.next_token_type_ == Lexer.NAME:
271 self.next_token_type_ in (Lexer.NAME, Lexer.CID)):
274 if self.next_token_type_ is Lexer.GLYPHCLASS:
292 if self.next_token_type_ is Lexer.NAME:
309 elif self.next_token_type_ is Lexer.CID:
321 elif self.next_token_type_ is Lexer.GLYPHCLASS:
523 if self.next_token_type_ == Lexer.NUMBER:
832 if self.next_token_type_ in (Lexer.NUMBER, Lexer.FLOAT) or \
881 if self.cur_token_type_ is Lexer.COMMENT:
904 if self.cur_token_type_ is Lexer.COMMENT:
920 if self.cur_token_type_ is Lexer.COMMENT:
923 elif self.cur_token_type_ is Lexer.NAME and self.cur_token_ in fields:
943 if self.cur_token_type_ is Lexer.COMMENT:
946 elif self.cur_token_type_ is Lexer.NAME and self.cur_token_ in fields:
965 if self.cur_token_type_ is Lexer.COMMENT:
981 if self.next_token_type_ == Lexer.NUMBER:
986 if self.next_token_type_ == Lexer.NUMBER:
1051 if self.cur_token_type_ is Lexer.COMMENT:
1081 if self.cur_token_type_ is Lexer.COMMENT:
1084 elif self.cur_token_type_ is Lexer.NAME:
1146 return self.next_token_type_ is Lexer.NUMBER or self.next_token_ == "<"
1149 if self.next_token_type_ is Lexer.NUMBER:
1162 if self.next_token_type_ is Lexer.NAME:
1267 if self.cur_token_type_ is Lexer.COMMENT:
1299 if self.cur_token_type_ is Lexer.COMMENT:
1332 if self.cur_token_type_ is Lexer.COMMENT:
1381 if self.cur_token_type_ is Lexer.COMMENT:
1384 elif self.cur_token_type_ is Lexer.GLYPHCLASS:
1422 elif self.cur_token_type_ is Lexer.NAME and self.cur_token_ in self.extensions:
1465 if self.cur_token_type_ is Lexer.NAME:
1474 if self.cur_token_type_ is not Lexer.GLYPHCLASS:
1480 if self.cur_token_type_ is Lexer.CID:
1486 if self.cur_token_type_ is not Lexer.FILENAME:
1493 if self.cur_token_type_ is Lexer.NAME:
1500 elif self.cur_token_type_ is Lexer.CID:
1518 if self.cur_token_type_ is not Lexer.NAME:
1543 if self.cur_token_type_ is Lexer.SYMBOL and self.cur_token_ == symbol:
1550 if self.cur_token_type_ is Lexer.NAME and self.cur_token_ == keyword:
1557 if self.cur_token_type_ is Lexer.NAME:
1564 if self.cur_token_type_ is Lexer.NUMBER:
1570 if self.cur_token_type_ is Lexer.FLOAT:
1577 if self.next_token_type_ == Lexer.FLOAT:
1579 elif self.next_token_type_ is Lexer.NUMBER:
1592 if self.cur_token_type_ is Lexer.NUMBER:
1599 if self.cur_token_type_ is Lexer.STRING:
1605 self.cur_token_type_ = Lexer.COMMENT
1617 if self.next_token_type_ != Lexer.COMMENT: