Package uk.co.badgersinfoil.metaas.dom

Examples of uk.co.badgersinfoil.metaas.dom.Statement


      LinkedListTree block = ASTBuilder.newBlock();
      elseClause.addChildWithTokens(block);
      ASTUtils.increaseIndentAfterFirstLine(block, indent);
      return new ASTStatementList(block);
    }
    Statement stmt = StatementBuilder.build(elseClause.getFirstChild());
    if (!(stmt instanceof ASBlock)) {
      throw new SyntaxException("Expected a block, got "+ASTUtils.tokenName(elseClause.getFirstChild()));
    }
    return (ASBlock)stmt;
  }
View Full Code Here

TOP

Related Classes of uk.co.badgersinfoil.metaas.dom.Statement

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.