Package net.sf.antcontrib.cpptasks.parser

Examples of net.sf.antcontrib.cpptasks.parser.LetterState


  private MetaObjectParser() {
    //
    //    search for Q_OBJECT
    //
    AbstractParserState t = new FinalTState(this);
    AbstractParserState c = new LetterState(this, 'C', t, null);
    AbstractParserState e = new LetterState(this, 'E', c, null);
    AbstractParserState j = new LetterState(this, 'J', e, null);
    AbstractParserState b = new LetterState(this, 'B', j, null);
    AbstractParserState o = new LetterState(this, 'O', b, null);
    AbstractParserState underline = new LetterState(this, '_', o, null);
    newLineState = new WhitespaceOrLetterState(this, 'Q', underline);
  }
View Full Code Here


        AbstractParserState unquote = new CfgFilenameState(this, new char[]{
                ' ', '\n', '\r'});
        AbstractParserState quoteBranch = new QuoteBranchState(this, quote,
                unquote);
        AbstractParserState toNextSwitch = new ConsumeToSpaceOrNewLine(this);
        AbstractParserState switchState = new LetterState(this, switchChar,
                quoteBranch, toNextSwitch);
        newLineState = new WhitespaceOrLetterState(this, '-', switchState);
    }
View Full Code Here

TOP

Related Classes of net.sf.antcontrib.cpptasks.parser.LetterState

Copyright © 2018 www.massapicom. 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.