Lines Matching refs:fromToken
425 def createFromToken(self, tokenType, fromToken, text=None): argument
1108 def createFromToken(self, tokenType, fromToken, text=None): argument
1109 if fromToken is None:
1113 assert isinstance(fromToken, Token), type(fromToken).__name__
1116 fromToken = self.createToken(fromToken)
1117 fromToken.type = tokenType
1119 fromToken.text = text
1120 t = self.createWithPayload(fromToken)
1128 fromToken = self.createToken(tokenType=tokenType, text=text)
1129 t = self.createWithPayload(fromToken)
1169 def createToken(self, fromToken=None, tokenType=None, text=None): argument
1507 def createToken(self, fromToken=None, tokenType=None, text=None): argument
1518 if fromToken is not None:
1519 return CommonToken(oldToken=fromToken)