Examples of mayExpand()


Examples of de.fosd.typechef.lexer.Token.mayExpand()

            if (tok.getType() == IDENTIFIER
                    && (!hack_definedActivated || hack_definedCounter != 1)) {
                MacroExpansion<MacroData>[] m = macros.getApplicableMacroExpansions(tok
                        .getText(), state.getFullPresenceCondition());
                if (m.length > 0
                        && tok.mayExpand()
                        && sourceManager.getSource().mayExpand(tok.getText())
                        && macro_expandToken(tok.getText(), m, tok,
                        inlineCppExpression))
                    continue;
                return tok;
View Full Code Here

Examples of de.fosd.typechef.lexer.Token.mayExpand()

                    MacroExpansion<MacroData>[] m = macros.getApplicableMacroExpansions(tok
                            .getText(), state.getFullPresenceCondition());
                    if (m.length == 0)
                        return tok;
                    if (!sourceManager.getSource().mayExpand(tok.getText())
                            || !tok.mayExpand())
                        return tok;
                    if (macro_expandToken(tok.getText(), m, tok, processing_include))
                        break;
                    return tok;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.