Lines Matching refs:fromToken
425 def createFromToken(self, tokenType, fromToken, text=None):
619 # Object create(int tokenType, Token fromToken);
632 # Object create(int tokenType, Token fromToken, String text);
1108 def createFromToken(self, tokenType, fromToken, text=None):
1109 if fromToken is None:
1113 assert isinstance(fromToken, Token), type(fromToken).__name__
1116 fromTokenfromToken)
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):
1507 def createToken(self, fromToken=None, tokenType=None, text=None):
1518 if fromToken is not None:
1519 return CommonToken(oldToken=fromToken)