Lines Matching refs:fromToken
50 static pANTLR3_COMMON_TOKEN createTokenFromToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN fromToken);
327 createTokenFromToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN fromToken)
340 newToken->toString = fromToken->toString;
342 if (fromToken->textState == ANTLR3_TEXT_CHARP)
345 newToken->tokText.chars = fromToken->tokText.chars;
349 text = fromToken->getText(fromToken);
354 newToken->setLine (newToken, fromToken->getLine(fromToken));
355 newToken->setTokenIndex (newToken, fromToken->getTokenIndex(fromToken));
356 newToken->setCharPositionInLine (newToken, fromToken->getCharPositionInLine(fromToken));
357 newToken->setChannel (newToken, fromToken->getChannel(fromToken));
358 fromToken->getType(fromToken));