Package dtool.parser.DeeParser_Parameters

Examples of dtool.parser.DeeParser_Parameters.AmbiguousParameter


      if(ambigParsedParameterResult instanceof IFunctionParameter) {
        nodeToCompareAgainst = reparseAsFunctionParam ? (ASTNode) ambigParsedParameterResult : null;
      } else if(ambigParsedParameterResult instanceof TemplateParameter) {
        nodeToCompareAgainst = !reparseAsFunctionParam ? (ASTNode) ambigParsedParameterResult : null;
      } else {
        AmbiguousParameter ambigParsedParameter = (AmbiguousParameter) ambigParsedParameterResult;
        nodeToCompareAgainst = reparseAsFunctionParam ?
          ambigParsedParameter.convertToFunction().asNode() : ambigParsedParameter.convertToTemplate();
      }
     
      if(nodeToCompareAgainst != null) {
        assertTrue(unambigParser.lookAhead() == DeeTokens.EOF);
        DeeParsingChecks.checkNodeEquality(unambigParsedParameter.asNode(), nodeToCompareAgainst);
View Full Code Here

TOP

Related Classes of dtool.parser.DeeParser_Parameters.AmbiguousParameter

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.