public class Template
extends dyvilx.tools.compiler.ast.header.ClassUnit
| Modifier and Type | Class and Description |
|---|---|
static class |
Template.LazyTypes |
compiler, fileSource, markers, outputDirectory, tokens| Constructor and Description |
|---|
Template(dyvilx.tools.compiler.DyvilCompiler compiler,
dyvilx.tools.compiler.ast.structure.Package pack,
java.io.File input,
java.io.File output) |
| Modifier and Type | Method and Description |
|---|---|
static void |
appendImport(java.lang.String indent,
java.lang.StringBuilder buffer,
dyvilx.tools.compiler.ast.imports.ImportDeclaration importDeclaration) |
void |
getMethodMatches(dyvilx.tools.compiler.ast.method.MatchList<dyvilx.tools.compiler.ast.method.IMethod> list,
dyvilx.tools.compiler.ast.expression.IValue receiver,
dyvil.lang.Name name,
dyvilx.tools.compiler.ast.parameter.ArgumentList arguments) |
java.lang.String |
getTemplateName() |
void |
parse() |
protected boolean |
printMarkers() |
dyvilx.tools.compiler.ast.field.IDataMember |
resolveField(dyvil.lang.Name name) |
void |
resolveTypes() |
void |
tokenize() |
void |
toString(java.lang.String indent,
java.lang.StringBuilder buffer) |
getDefaultHeaderDeclarationVisibility, needsDefaultHeaderDeclarationcheck, checkTypes, cleanup, compile, foldConstants, getCompilationContext, getFileSource, getHeaderDeclaration, getMarkers, load, read, resolve, resolveHeaders, writeaddClass, addCompilable, addImport, addOperator, addTypeAlias, compilableCount, getClasses, getContext, getFullName, getHeader, getImplicitMatches, getImport, getInternalName, getName, getPackage, getPackageDeclaration, getPosition, getVisibility, hasHeaderDeclaration, hasMemberImports, importCount, operatorCount, resolveClass, resolveHeader, resolveOperator, resolveTypeAlias, setHeaderDeclaration, setName, setPackage, setPackageDeclaration, setPosition, toString, typeAliasCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddClass, createClassaddClass, addCompilable, addImport, addOperator, addTypeAlias, compilableCount, getClasses, getContext, getFullName, getImport, getInternalName, getName, getPackage, getPackageDeclaration, getVisibility, hasHeaderDeclaration, hasMemberImports, importCount, operatorCount, resolveOperator, resolveTypeAlias, setHeaderDeclaration, setName, setPackage, setPackageDeclaration, typeAliasCountexpandPosition, getPosition, lineNumber, setPositioncheckException, getHeader, getImplicitMatches, getReturnType, isConstructor, isThisAvailable, resolveClass, resolveHeader, resolvePackage, resolveTypeAliaspublic Template(dyvilx.tools.compiler.DyvilCompiler compiler,
dyvilx.tools.compiler.ast.structure.Package pack,
java.io.File input,
java.io.File output)
public java.lang.String getTemplateName()
public dyvilx.tools.compiler.ast.field.IDataMember resolveField(dyvil.lang.Name name)
public void getMethodMatches(dyvilx.tools.compiler.ast.method.MatchList<dyvilx.tools.compiler.ast.method.IMethod> list,
dyvilx.tools.compiler.ast.expression.IValue receiver,
dyvil.lang.Name name,
dyvilx.tools.compiler.ast.parameter.ArgumentList arguments)
getMethodMatches in interface dyvilx.tools.compiler.ast.context.IContextgetMethodMatches in interface dyvilx.tools.compiler.ast.context.IDefaultContextgetMethodMatches in interface dyvilx.tools.compiler.ast.context.IMemberContextgetMethodMatches in interface dyvilx.tools.compiler.ast.context.IStaticContextgetMethodMatches in interface dyvilx.tools.compiler.ast.imports.IImportContextgetMethodMatches in class dyvilx.tools.compiler.ast.header.AbstractHeaderpublic void tokenize()
tokenize in interface dyvilx.tools.compiler.ast.header.ICompilationUnittokenize in class dyvilx.tools.compiler.ast.header.SourceHeaderpublic void parse()
parse in interface dyvilx.tools.compiler.ast.header.ICompilationUnitparse in class dyvilx.tools.compiler.ast.header.ClassUnitpublic void resolveTypes()
resolveTypes in interface dyvilx.tools.compiler.ast.header.ICompilationUnitresolveTypes in class dyvilx.tools.compiler.ast.header.SourceHeaderprotected boolean printMarkers()
printMarkers in class dyvilx.tools.compiler.ast.header.ClassUnitpublic void toString(java.lang.String indent,
java.lang.StringBuilder buffer)
toString in interface dyvilx.tools.parsing.ASTNodetoString in class dyvilx.tools.compiler.ast.header.AbstractHeaderpublic static void appendImport(java.lang.String indent,
java.lang.StringBuilder buffer,
dyvilx.tools.compiler.ast.imports.ImportDeclaration importDeclaration)