Documentation ¶
Overview ¶
Package javac is the OpenJDK Java compiler's implementation of an Impendulo tool. For more information see http://openjdk.java.net/groups/compiler/.
Index ¶
- Constants
- type Report
- type Result
- func (r *Result) ChartVals() []*result.ChartVal
- func (r *Result) GetFileId() bson.ObjectId
- func (r *Result) GetId() bson.ObjectId
- func (r *Result) GetName() string
- func (r *Result) GetTestId() bson.ObjectId
- func (r *Result) GetType() string
- func (r *Result) OnGridFS() bool
- func (r *Result) Reporter() result.Reporter
- func (r *Result) SetReport(report result.Reporter)
- func (r *Result) Template() string
- type Tool
Constants ¶
View Source
const (
NAME = "Javac"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct { Id bson.ObjectId `bson:"_id"` //Type stores the type of result: //Success, Warnings or Errors. Type result.CompileType `bson:"type"` //Count is the number of errors or warnings encountered. Count int `bson:"count"` //Data is what was generated by compilation. Data []byte `bson:"data"` }
Report contains the result of a Java compilation.
type Result ¶
type Result struct { Id bson.ObjectId `bson:"_id"` FileId bson.ObjectId `bson:"fileid"` Name string `bson:"name"` Report *Report `bson:"report"` GridFS bool `bson:"gridfs"` Type string `bson:"type"` }
type Tool ¶
type Tool struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.