Java Doc for LDT.java in  » Testing » KeY » de » uka » ilkd » key » logic » ldt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » KeY » de.uka.ilkd.key.logic.ldt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.uka.ilkd.key.logic.ldt.ADT
      de.uka.ilkd.key.logic.ldt.LDT

All known Subclasses:   de.uka.ilkd.key.logic.ldt.BooleanLDT,  de.uka.ilkd.key.logic.ldt.AbstractIntegerLDT,
LDT
abstract public class LDT extends ADT (Code)
this class extends the class ADT and is used to represent language datatype models e.g. a model for the java type int, boolean etc. It contains the necessary function symbols, sorts and Taclets. The class TypeConverter needs this class to convert java-program constructs to logic terms.


Field Summary
protected  HashMapkeyJavaType
    
final protected  Sortsort
    
final protected  Typetype
    

Constructor Summary
public  LDT(Name name, Namespace sorts, Type type)
     creates a new LDT complete with the target sort of the language datatype, the java datatype, and sorts
Parameters:
  name - the name of the language datatype model and the corresponding sort
Parameters:
  sorts - namespace which contains the target sort
Parameters:
  type - the type used in the java program esp.

Method Summary
public  FunctionaddFunction(Function f)
    
public  FunctionaddFunction(Namespace funcNS, String funcName)
    
public  booleancontainsFunction(Function op)
    
public  Namespacefunctions()
    
public  StringgetFile()
    
abstract public  FunctiongetFunctionFor(de.uka.ilkd.key.java.expression.Operator op, Services serv, ExecutionContext ec)
    
public  KeYJavaTypegetKeYJavaType(Type t)
    
abstract public  booleanhasLiteralFunction(Function f)
    
abstract public  booleanisResponsible(de.uka.ilkd.key.java.expression.Operator op, Term[] subs, Services services, ExecutionContext ec)
    
abstract public  booleanisResponsible(de.uka.ilkd.key.java.expression.Operator op, Term left, Term right, Services services, ExecutionContext ec)
    
abstract public  booleanisResponsible(de.uka.ilkd.key.java.expression.Operator op, Term sub, Services services, ExecutionContext ec)
    
public  TypejavaType()
    
public  SetOfTacletrules()
    
public  SorttargetSort()
    
public  StringtoString()
    
abstract public  TermtranslateLiteral(Literal lit)
    
abstract public  ExpressiontranslateTerm(Term t, ExtList children)
    

Field Detail
keyJavaType
protected HashMap keyJavaType(Code)



sort
final protected Sort sort(Code)
the sort represented by the LDT



type
final protected Type type(Code)
one LDT may model several program types; this is the list of these types




Constructor Detail
LDT
public LDT(Name name, Namespace sorts, Type type)(Code)
creates a new LDT complete with the target sort of the language datatype, the java datatype, and sorts
Parameters:
  name - the name of the language datatype model and the corresponding sort
Parameters:
  sorts - namespace which contains the target sort
Parameters:
  type - the type used in the java program esp. in the ASTof the java program




Method Detail
addFunction
public Function addFunction(Function f)(Code)
adds a function to the LDT the added function (for convenience reasons)



addFunction
public Function addFunction(Namespace funcNS, String funcName)(Code)
looks up a function in the namespace and add it to the LDT
Parameters:
  functions - a Namespace with symbols
Parameters:
  String - the String with the name of the function to look up the added function (for convenience reasons)



containsFunction
public boolean containsFunction(Function op)(Code)



functions
public Namespace functions()(Code)
returns the basic functions of the model the basic functions of the model



getFile
public String getFile()(Code)
returns the file ID for the parser



getFunctionFor
abstract public Function getFunctionFor(de.uka.ilkd.key.java.expression.Operator op, Services serv, ExecutionContext ec)(Code)
returns the function symbol for the given operation the function symbol for the given operation



getKeYJavaType
public KeYJavaType getKeYJavaType(Type t)(Code)
returns the KeYJavaType for the the given type
Parameters:
  t - the Type for which the coressponding KeYJavaType has to bereturned the KeYJavaType the the given type t



hasLiteralFunction
abstract public boolean hasLiteralFunction(Function f)(Code)



isResponsible
abstract public boolean isResponsible(de.uka.ilkd.key.java.expression.Operator op, Term[] subs, Services services, ExecutionContext ec)(Code)
returns true if the LDT offers an operation for the given java operator and the logic subterms
Parameters:
  op - the de.uka.ilkd.key.java.expression.Operator totranslate
Parameters:
  subs - the logic subterms of the java operator
Parameters:
  services - the Services
Parameters:
  ec - the ExecutionContext in which the expression is evaluated true if the LDT offers an operation for the given javaoperator and the subterms



isResponsible
abstract public boolean isResponsible(de.uka.ilkd.key.java.expression.Operator op, Term left, Term right, Services services, ExecutionContext ec)(Code)
returns true if the LDT offers an operation for the given binary java operator and the logic subterms
Parameters:
  op - the de.uka.ilkd.key.java.expression.Operator totranslate
Parameters:
  left - the left subterm of the java operator
Parameters:
  right - the right subterm of the java operator
Parameters:
  services - the Services
Parameters:
  ec - the ExecutionContext in which the expression is evaluated true if the LDT offers an operation for the given javaoperator and the subterms



isResponsible
abstract public boolean isResponsible(de.uka.ilkd.key.java.expression.Operator op, Term sub, Services services, ExecutionContext ec)(Code)
returns true if the LDT offers an operation for the given unary java operator and the logic subterms
Parameters:
  op - the de.uka.ilkd.key.java.expression.Operator totranslate
Parameters:
  sub - the logic subterms of the java operator
Parameters:
  services - the Services
Parameters:
  ec - the ExecutionContext in which the expression is evaluated * @param services TODO true if the LDT offers an operation for the given javaoperator and the subterm



javaType
public Type javaType()(Code)
returns the java type the model describes the java type the model describes



rules
public SetOfTaclet rules()(Code)
returns the model specific rules the model specific rules



targetSort
public Sort targetSort()(Code)
returns the sort the java type is mapped to the sort the java type is mapped to



toString
public String toString()(Code)
toString



translateLiteral
abstract public Term translateLiteral(Literal lit)(Code)
translates a given literal to its logic counterpart
Parameters:
  lit - the Literal to be translated the Term that represents the given literal in its logicform



translateTerm
abstract public Expression translateTerm(Term t, ExtList children)(Code)



Methods inherited from de.uka.ilkd.key.logic.ldt.ADT
public void addAxiom(Axiom a)(Code)(Java Doc)
public void addSort(GenSort gs)(Code)(Java Doc)
public void addSort(Sort s)(Code)(Java Doc)
public Vector getAxioms()(Code)(Java Doc)
public Vector getSorts()(Code)(Java Doc)
public Name name()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify() throws IllegalMonitorStateException(Code)(Java Doc)
final public void notifyAll() throws IllegalMonitorStateException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait() throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)
final public void wait(long ms, int ns) throws IllegalMonitorStateException, InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.