Examples of classDeclaration()


Examples of org.codehaus.enunciate.contract.json.JsonTypeDefinition.classDeclaration()

  }

  private JsonSchemaInfo jsonSchemaForType(final JsonType jsonType) {
    if (jsonType instanceof JsonTypeDefinition) {
      final JsonTypeDefinition jsonTypeDefinition = (JsonTypeDefinition) jsonType;
      final String schemaId = JsonSchemaInfo.schemaIdForType(jsonTypeDefinition.classDeclaration());
      return model.getIdsToJsonSchemas().get(schemaId);
    }
    return null;
  }
}
View Full Code Here

Examples of tool.model.grammar.ForteCDFTree.classDeclaration()

      tree = (CommonTree) result.getTree();
      System.out.println(tree.toStringTree());
      CommonTreeNodeStream nodes = new CommonTreeNodeStream(tree);
      nodes.setTokenStream(tokens);
      ForteCDFTree walker = new ForteCDFTree(file, nodes);
      ToolClass toolClass = walker.classDeclaration().toolClass;
      return toolClass;
  }

  public void parse(IDocument doc){
    virtualAttributes = new HashMap<String, ToolVirtualAttribute>();
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.