Documentation ¶
Index ¶
- type Compiler
- type DereferenceChecker
- func (self *DereferenceChecker) Check(ast *xtc_ast.AST) (*xtc_ast.AST, error)
- func (self *DereferenceChecker) VisitExprNode(unknown xtc_core.IExprNode) interface{}
- func (self *DereferenceChecker) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
- func (self *DereferenceChecker) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
- type IRGenerator
- func (self *IRGenerator) Generate(ast *xtc_ast.AST) (*xtc_ir.IR, error)
- func (self *IRGenerator) VisitExprNode(unknown xtc_core.IExprNode) interface{}
- func (self *IRGenerator) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
- func (self *IRGenerator) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
- type LocalResolver
- func (self *LocalResolver) Resolve(ast *xtc_ast.AST) (*xtc_ast.AST, error)
- func (self *LocalResolver) VisitExprNode(unknown xtc_core.IExprNode) interface{}
- func (self *LocalResolver) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
- func (self *LocalResolver) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
- type TypeChecker
- func (self *TypeChecker) Check(ast *xtc_ast.AST) (*xtc_ast.AST, error)
- func (self *TypeChecker) VisitExprNode(unknown xtc_core.IExprNode) interface{}
- func (self *TypeChecker) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
- func (self *TypeChecker) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
- type TypeResolver
- func (self *TypeResolver) Resolve(ast *xtc_ast.AST) (*xtc_ast.AST, error)
- func (self *TypeResolver) VisitEntity(unknown xtc_core.IEntity) interface{}
- func (self *TypeResolver) VisitExprNode(unknown xtc_core.IExprNode) interface{}
- func (self *TypeResolver) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
- func (self *TypeResolver) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
func NewCompiler ¶
func (*Compiler) SourceFiles ¶
func (self *Compiler) SourceFiles() []*xtc_core.SourceFile
type DereferenceChecker ¶
type DereferenceChecker struct {
// contains filtered or unexported fields
}
func NewDereferenceChecker ¶
func NewDereferenceChecker(errorHandler *xtc_core.ErrorHandler, options *xtc_core.Options, table *xtc_typesys.TypeTable) *DereferenceChecker
func (*DereferenceChecker) VisitExprNode ¶
func (self *DereferenceChecker) VisitExprNode(unknown xtc_core.IExprNode) interface{}
func (*DereferenceChecker) VisitStmtNode ¶
func (self *DereferenceChecker) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
func (*DereferenceChecker) VisitTypeDefinition ¶
func (self *DereferenceChecker) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
type IRGenerator ¶
type IRGenerator struct {
// contains filtered or unexported fields
}
func NewIRGenerator ¶
func NewIRGenerator(errorHandler *xtc_core.ErrorHandler, options *xtc_core.Options, table *xtc_typesys.TypeTable) *IRGenerator
func (*IRGenerator) VisitExprNode ¶
func (self *IRGenerator) VisitExprNode(unknown xtc_core.IExprNode) interface{}
func (*IRGenerator) VisitStmtNode ¶
func (self *IRGenerator) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
func (*IRGenerator) VisitTypeDefinition ¶
func (self *IRGenerator) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
type LocalResolver ¶
type LocalResolver struct {
// contains filtered or unexported fields
}
func NewLocalResolver ¶
func NewLocalResolver(errorHandler *xtc_core.ErrorHandler, options *xtc_core.Options) *LocalResolver
func (*LocalResolver) VisitExprNode ¶
func (self *LocalResolver) VisitExprNode(unknown xtc_core.IExprNode) interface{}
func (*LocalResolver) VisitStmtNode ¶
func (self *LocalResolver) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
func (*LocalResolver) VisitTypeDefinition ¶
func (self *LocalResolver) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
type TypeChecker ¶
type TypeChecker struct {
// contains filtered or unexported fields
}
func NewTypeChecker ¶
func NewTypeChecker(errorHandler *xtc_core.ErrorHandler, options *xtc_core.Options, table *xtc_typesys.TypeTable) *TypeChecker
func (*TypeChecker) VisitExprNode ¶
func (self *TypeChecker) VisitExprNode(unknown xtc_core.IExprNode) interface{}
func (*TypeChecker) VisitStmtNode ¶
func (self *TypeChecker) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
func (*TypeChecker) VisitTypeDefinition ¶
func (self *TypeChecker) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
type TypeResolver ¶
type TypeResolver struct {
// contains filtered or unexported fields
}
func NewTypeResolver ¶
func NewTypeResolver(errorHandler *xtc_core.ErrorHandler, options *xtc_core.Options, table *xtc_typesys.TypeTable) *TypeResolver
func (*TypeResolver) VisitEntity ¶
func (self *TypeResolver) VisitEntity(unknown xtc_core.IEntity) interface{}
func (*TypeResolver) VisitExprNode ¶
func (self *TypeResolver) VisitExprNode(unknown xtc_core.IExprNode) interface{}
func (*TypeResolver) VisitStmtNode ¶
func (self *TypeResolver) VisitStmtNode(unknown xtc_core.IStmtNode) interface{}
func (*TypeResolver) VisitTypeDefinition ¶
func (self *TypeResolver) VisitTypeDefinition(unknown xtc_core.ITypeDefinition) interface{}
Click to show internal directories.
Click to hide internal directories.