Documentation ¶
Index ¶
- func AssertAddOpTerm(t *testing.T, expected, actual *ast.AddOpTerm)
- func AssertAddOpTerms(t *testing.T, expected, actual ast.AddOpTerms)
- func AssertAddress(t *testing.T, expected, actual *ast.Address)
- func AssertArrayType(t *testing.T, expected, actual *ast.ArrayType)
- func AssertAssemblerStatement(t *testing.T, expected, actual *ast.AssemblerStatement)
- func AssertAssignStatement(t *testing.T, expected, actual *ast.AssignStatement)
- func AssertBlock(t *testing.T, expected, actual *ast.Block)
- func AssertBlockBody(t *testing.T, expected, actual ast.BlockBody)
- func AssertCallStatement(t *testing.T, expected, actual *ast.CallStatement)
- func AssertCaseLabel(t *testing.T, expected, actual *ast.CaseLabel)
- func AssertCaseLabels(t *testing.T, expected, actual ast.CaseLabels)
- func AssertCaseSelector(t *testing.T, expected, actual *ast.CaseSelector)
- func AssertCaseSelectors(t *testing.T, expected, actual ast.CaseSelectors)
- func AssertCaseStmt(t *testing.T, expected, actual *ast.CaseStmt)
- func AssertCompoundStmt(t *testing.T, expected, actual *ast.CompoundStmt)
- func AssertConditionalStmt(t *testing.T, expected, actual ast.ConditionalStmt)
- func AssertConstExpr(t *testing.T, expected, actual *ast.ConstExpr)
- func AssertConstExprs(t *testing.T, expected, actual ast.ConstExprs)
- func AssertConstSection(t *testing.T, expected, actual ast.ConstSection)
- func AssertConstantDecl(t *testing.T, expected, actual *ast.ConstantDecl)
- func AssertDeclSection(t *testing.T, expected, actual ast.DeclSection)
- func AssertDeclSections(t *testing.T, expected, actual ast.DeclSections)
- func AssertDeclaration(t *testing.T, expected, actual *astcore.Decl)
- func AssertDesignator(t *testing.T, expected, actual *ast.Designator)
- func AssertDesignatorFactor(t *testing.T, expected, actual *ast.DesignatorFactor)
- func AssertDesignatorItem(t *testing.T, expected, actual ast.DesignatorItem)
- func AssertDesignatorItemDereference(t *testing.T, expected, actual *ast.DesignatorItemDereference)
- func AssertDesignatorItemExprList(t *testing.T, expected, actual ast.DesignatorItemExprList)
- func AssertDesignatorItemIdent(t *testing.T, expected, actual *ast.DesignatorItemIdent)
- func AssertDesignatorItems(t *testing.T, expected, actual ast.DesignatorItems)
- func AssertDirective(t *testing.T, expected, actual ast.Directive)
- func AssertDirectives(t *testing.T, expected, actual []ast.Directive)
- func AssertEnumeratedType(t *testing.T, expected, actual ast.EnumeratedType)
- func AssertEnumeratedTypeElement(t *testing.T, expected, actual *ast.EnumeratedTypeElement)
- func AssertExceptionBlock(t *testing.T, expected, actual *ast.ExceptionBlock)
- func AssertExceptionBlockHandlerDecl(t *testing.T, expected, actual *ast.ExceptionBlockHandlerDecl)
- func AssertExceptionBlockHandlers(t *testing.T, expected, actual ast.ExceptionBlockHandlers)
- func AssertExceptionHandler(t *testing.T, expected, actual *ast.ExceptionBlockHandler)
- func AssertExportedHeading(t *testing.T, expected, actual *ast.ExportedHeading)
- func AssertExportsItem(t *testing.T, expected, actual *ast.ExportsItem)
- func AssertExportsItems(t *testing.T, expected, actual []*ast.ExportsItem)
- func AssertExportsStmt(t *testing.T, expected, actual *ast.ExportsStmt)
- func AssertExportsStmts(t *testing.T, expected, actual ast.ExportsStmts)
- func AssertExprList(t *testing.T, expected, actual ast.ExprList)
- func AssertExpression(t *testing.T, expected, actual *ast.Expression)
- func AssertExternalOptions(t *testing.T, expected, actual *ast.ExternalOptions)
- func AssertFactor(t *testing.T, expected, actual ast.Factor)
- func AssertFieldDecl(t *testing.T, expected, actual *ast.FieldDecl)
- func AssertFieldDecls(t *testing.T, expected, actual ast.FieldDecls)
- func AssertFieldList(t *testing.T, expected, actual *ast.FieldList)
- func AssertFileType(t *testing.T, expected, actual *ast.FileType)
- func AssertFixedStringType(t *testing.T, expected, actual *ast.FixedStringType)
- func AssertForStmt(t *testing.T, expected, actual *ast.ForStmt)
- func AssertFormalParameters(t *testing.T, expected, actual ast.FormalParameters)
- func AssertFormalParm(t *testing.T, expected, actual *ast.FormalParm)
- func AssertFunctionDecl(t *testing.T, expected, actual *ast.FunctionDecl)
- func AssertFunctionHeading(t *testing.T, expected, actual *ast.FunctionHeading)
- func AssertGotoStatement(t *testing.T, expected, actual *ast.GotoStatement)
- func AssertIdent(t *testing.T, expected, actual *ast.Ident)
- func AssertIdentList(t *testing.T, expected, actual ast.IdentList)
- func AssertIdentRef(t *testing.T, expected, actual *ast.IdentRef)
- func AssertIfStmt(t *testing.T, expected, actual *ast.IfStmt)
- func AssertImplementationSection(t *testing.T, expected, actual *ast.ImplementationSection)
- func AssertInheritedStatement(t *testing.T, expected, actual *ast.InheritedStatement)
- func AssertInitSection(t *testing.T, expected, actual *ast.InitSection)
- func AssertInterfaceDecl(t *testing.T, expected, actual ast.InterfaceDecl)
- func AssertInterfaceDecls(t *testing.T, expected, actual ast.InterfaceDecls)
- func AssertInterfaceSection(t *testing.T, expected, actual *ast.InterfaceSection)
- func AssertLabelDeclSection(t *testing.T, expected, actual *ast.LabelDeclSection)
- func AssertLbelId(t *testing.T, expected, actual *ast.LabelId)
- func AssertLocation(t *testing.T, expected, actual *astcore.Location)
- func AssertLoopStmt(t *testing.T, expected, actual ast.LoopStmt)
- func AssertMulOpFactor(t *testing.T, expected, actual *ast.MulOpFactor)
- func AssertMulOpFactors(t *testing.T, expected, actual ast.MulOpFactors)
- func AssertNil(t *testing.T, expected, actual *ast.Nil)
- func AssertNot(t *testing.T, expected, actual *ast.Not)
- func AssertNumberFactor(t *testing.T, expected, actual *ast.NumberFactor)
- func AssertOrdIdent(t *testing.T, expected, actual ast.OrdIdent)
- func AssertOrdinalType(t *testing.T, expected, actual ast.OrdinalType)
- func AssertOrdinalTypes(t *testing.T, expected, actual []ast.OrdinalType)
- func AssertParameter(t *testing.T, expected, actual *ast.Parameter)
- func AssertParameterType(t *testing.T, expected, actual *ast.ParameterType)
- func AssertParentheses(t *testing.T, expected, actual *ast.Parentheses)
- func AssertPortabilityDirective(t *testing.T, expected, actual *ast.PortabilityDirective)
- func AssertPosition(t *testing.T, expected, actual *astcore.Position)
- func AssertProcedureDeclSection(t *testing.T, expected, actual ast.ProcedureDeclSection)
- func AssertProgram(t *testing.T, expected *ast.Program, actual *ast.Program)
- func AssertProgramBlock(t *testing.T, expected *ast.ProgramBlock, actual *ast.ProgramBlock)
- func AssertQualId(t *testing.T, expected, actual *ast.QualId)
- func AssertQualIds(t *testing.T, expected, actual ast.QualIds)
- func AssertRaiseStmt(t *testing.T, expected, actual *ast.RaiseStmt)
- func AssertRealType(t *testing.T, expected, actual ast.RealType)
- func AssertRecType(t *testing.T, expected, actual *ast.RecType)
- func AssertRecVariant(t *testing.T, expected, actual *ast.RecVariant)
- func AssertRecVariants(t *testing.T, expected, actual ast.RecVariants)
- func AssertRelOpSimpleExpression(t *testing.T, expected, actual *ast.RelOpSimpleExpression)
- func AssertRelOpSimpleExpressions(t *testing.T, expected, actual ast.RelOpSimpleExpressions)
- func AssertRepeatStmt(t *testing.T, expected, actual *ast.RepeatStmt)
- func AssertSetConstructor(t *testing.T, expected, actual *ast.SetConstructor)
- func AssertSetElement(t *testing.T, expected, actual *ast.SetElement)
- func AssertSetElements(t *testing.T, expected, actual []*ast.SetElement)
- func AssertSetType(t *testing.T, expected, actual *ast.SetType)
- func AssertSimpleExpression(t *testing.T, expected, actual *ast.SimpleExpression)
- func AssertSimpleType(t *testing.T, expected, actual ast.SimpleType)
- func AssertStatement(t *testing.T, expected, actual *ast.Statement)
- func AssertStatementBody(t *testing.T, expected, actual ast.StatementBody)
- func AssertStmtList(t *testing.T, expected, actual ast.StmtList)
- func AssertStringFactor(t *testing.T, expected, actual *ast.StringFactor)
- func AssertStringType(t *testing.T, expected, actual ast.StringType)
- func AssertStrucType(t *testing.T, expected, actual ast.StrucType)
- func AssertStructStmt(t *testing.T, expected, actual ast.StructStmt)
- func AssertSubrangeType(t *testing.T, expected, actual *ast.SubrangeType)
- func AssertTerm(t *testing.T, expected, actual *ast.Term)
- func AssertThreadVarDecl(t *testing.T, expected, actual *ast.ThreadVarDecl)
- func AssertThreadVarSection(t *testing.T, expected, actual ast.ThreadVarSection)
- func AssertTryExceptStmt(t *testing.T, expected, actual *ast.TryExceptStmt)
- func AssertTryFinallyStmt(t *testing.T, expected, actual *ast.TryFinallyStmt)
- func AssertType(t *testing.T, expected, actual ast.Type)
- func AssertTypeCast(t *testing.T, expected, actual *ast.TypeCast)
- func AssertTypeDecl(t *testing.T, expected, actual *ast.TypeDecl)
- func AssertTypeEmbedded(t *testing.T, expected, actual *ast.TypeEmbedded)
- func AssertTypeId(t *testing.T, expected, actual *ast.TypeId)
- func AssertTypeSection(t *testing.T, expected, actual ast.TypeSection)
- func AssertUnit(t *testing.T, expected, actual *ast.Unit)
- func AssertUnitId(t *testing.T, expected, actual *ast.UnitId)
- func AssertUnitRef(t *testing.T, expected, actual *ast.UsesClauseItem)
- func AssertUnits(t *testing.T, expected, actual ast.Units)
- func AssertUsesClause(t *testing.T, expected ast.UsesClause, actual ast.UsesClause)
- func AssertValueFactor(t *testing.T, expected, actual *ast.ValueFactor)
- func AssertVarDecl(t *testing.T, expected, actual *ast.VarDecl)
- func AssertVarDeclAbsolute(t *testing.T, expected, actual ast.VarDeclAbsolute)
- func AssertVarDeclAbsoluteConstExpr(t *testing.T, expected, actual *ast.VarDeclAbsoluteConstExpr)
- func AssertVarDeclAbsoluteIdent(t *testing.T, expected, actual *ast.VarDeclAbsoluteIdent)
- func AssertVarSection(t *testing.T, expected, actual ast.VarSection)
- func AssertVariantSection(t *testing.T, expected, actual *ast.VariantSection)
- func AssertWhileStmt(t *testing.T, expected, actual *ast.WhileStmt)
- func AssertWithStmt(t *testing.T, expected, actual *ast.WithStmt)
- func ClearLocation(ident *ast.Ident)
- func ClearLocations(t *testing.T, node ast.Node)
- func ClearUnitDeclMap(u *ast.Unit)
- func ClearUnitDeclMaps(t *testing.T, node ast.Node)
- func ClearUsesItemUnit(item *ast.UsesClauseItem)
- func ClearUsesItemsUnit(t *testing.T, node ast.Node)
- func NewArrayParameterType(arg interface{}) *ast.ParameterType
- func NewCaseLabel(arg interface{}, extras ...interface{}) *ast.CaseLabel
- func NewConstExpr(arg interface{}) *ast.ConstExpr
- func NewDesignator(arg interface{}) *ast.Designator
- func NewDesignatorFactor(arg interface{}) *ast.DesignatorFactor
- func NewDesignatorItemIdent(arg interface{}) *ast.DesignatorItemIdent
- func NewExpression(arg interface{}) *ast.Expression
- func NewExternalOptions(libraryName string, args ...interface{}) *ast.ExternalOptions
- func NewFixedStringType(name interface{}, length *ast.ConstExpr) *ast.FixedStringType
- func NewFormalParm(name interface{}, args ...interface{}) *ast.FormalParm
- func NewIdent(arg interface{}, locations ...*ast.Location) *ast.Ident
- func NewIdentList(args ...interface{}) ast.IdentList
- func NewIdentLocation(args ...interface{}) *ast.Location
- func NewIdentRef(arg interface{}, args ...interface{}) *ast.IdentRef
- func NewLabelId(arg interface{}) *ast.LabelId
- func NewNil() *ast.Nil
- func NewNumber(v string) *ast.NumberFactor
- func NewOrdIdent(name interface{}) *ast.TypeId
- func NewOrdIdentWithIdent(v *ast.Ident) *ast.TypeId
- func NewParameter(name interface{}, typArg interface{}, args ...interface{}) *ast.Parameter
- func NewParameterType(arg interface{}) *ast.ParameterType
- func NewPosition(args ...int) *ast.Position
- func NewQualId(args ...interface{}) *ast.QualId
- func NewRealType(name interface{}) *ast.TypeId
- func NewSetElement(expr *ast.Expression) *ast.SetElement
- func NewSimpleExpression(arg interface{}) *ast.SimpleExpression
- func NewString(v string) *ast.StringFactor
- func NewStringType(name interface{}) *ast.TypeId
- func NewTerm(arg interface{}) *ast.Term
- func NewTypeId(unitIdOrIdent interface{}, args ...interface{}) *ast.TypeId
- func NewUnitId(name interface{}) *ast.UnitId
- func NewUnitRef(name interface{}, paths ...string) *ast.UsesClauseItem
- func NewVarDeclAbsoluteIdent(arg interface{}) *ast.VarDeclAbsoluteIdent
- func NewVariantType(name interface{}) *ast.TypeId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAddOpTerms ¶
func AssertAddOpTerms(t *testing.T, expected, actual ast.AddOpTerms)
func AssertAssemblerStatement ¶
func AssertAssemblerStatement(t *testing.T, expected, actual *ast.AssemblerStatement)
func AssertAssignStatement ¶
func AssertAssignStatement(t *testing.T, expected, actual *ast.AssignStatement)
func AssertCallStatement ¶
func AssertCallStatement(t *testing.T, expected, actual *ast.CallStatement)
func AssertCaseLabels ¶
func AssertCaseLabels(t *testing.T, expected, actual ast.CaseLabels)
func AssertCaseSelector ¶
func AssertCaseSelector(t *testing.T, expected, actual *ast.CaseSelector)
func AssertCaseSelectors ¶
func AssertCaseSelectors(t *testing.T, expected, actual ast.CaseSelectors)
func AssertCompoundStmt ¶
func AssertCompoundStmt(t *testing.T, expected, actual *ast.CompoundStmt)
func AssertConditionalStmt ¶
func AssertConditionalStmt(t *testing.T, expected, actual ast.ConditionalStmt)
func AssertConstExprs ¶
func AssertConstExprs(t *testing.T, expected, actual ast.ConstExprs)
func AssertConstSection ¶
func AssertConstSection(t *testing.T, expected, actual ast.ConstSection)
func AssertConstantDecl ¶
func AssertConstantDecl(t *testing.T, expected, actual *ast.ConstantDecl)
func AssertDeclSection ¶
func AssertDeclSection(t *testing.T, expected, actual ast.DeclSection)
func AssertDeclSections ¶
func AssertDeclSections(t *testing.T, expected, actual ast.DeclSections)
func AssertDesignator ¶
func AssertDesignator(t *testing.T, expected, actual *ast.Designator)
func AssertDesignatorFactor ¶
func AssertDesignatorFactor(t *testing.T, expected, actual *ast.DesignatorFactor)
func AssertDesignatorItem ¶
func AssertDesignatorItem(t *testing.T, expected, actual ast.DesignatorItem)
func AssertDesignatorItemDereference ¶
func AssertDesignatorItemDereference(t *testing.T, expected, actual *ast.DesignatorItemDereference)
func AssertDesignatorItemExprList ¶
func AssertDesignatorItemExprList(t *testing.T, expected, actual ast.DesignatorItemExprList)
func AssertDesignatorItemIdent ¶
func AssertDesignatorItemIdent(t *testing.T, expected, actual *ast.DesignatorItemIdent)
func AssertDesignatorItems ¶
func AssertDesignatorItems(t *testing.T, expected, actual ast.DesignatorItems)
func AssertEnumeratedType ¶
func AssertEnumeratedType(t *testing.T, expected, actual ast.EnumeratedType)
func AssertEnumeratedTypeElement ¶
func AssertEnumeratedTypeElement(t *testing.T, expected, actual *ast.EnumeratedTypeElement)
func AssertExceptionBlock ¶
func AssertExceptionBlock(t *testing.T, expected, actual *ast.ExceptionBlock)
func AssertExceptionBlockHandlerDecl ¶
func AssertExceptionBlockHandlerDecl(t *testing.T, expected, actual *ast.ExceptionBlockHandlerDecl)
func AssertExceptionBlockHandlers ¶
func AssertExceptionBlockHandlers(t *testing.T, expected, actual ast.ExceptionBlockHandlers)
func AssertExceptionHandler ¶
func AssertExceptionHandler(t *testing.T, expected, actual *ast.ExceptionBlockHandler)
func AssertExportedHeading ¶
func AssertExportedHeading(t *testing.T, expected, actual *ast.ExportedHeading)
func AssertExportsItem ¶
func AssertExportsItem(t *testing.T, expected, actual *ast.ExportsItem)
func AssertExportsItems ¶
func AssertExportsItems(t *testing.T, expected, actual []*ast.ExportsItem)
func AssertExportsStmt ¶
func AssertExportsStmt(t *testing.T, expected, actual *ast.ExportsStmt)
func AssertExportsStmts ¶
func AssertExportsStmts(t *testing.T, expected, actual ast.ExportsStmts)
func AssertExpression ¶
func AssertExpression(t *testing.T, expected, actual *ast.Expression)
func AssertExternalOptions ¶
func AssertExternalOptions(t *testing.T, expected, actual *ast.ExternalOptions)
func AssertFieldDecls ¶
func AssertFieldDecls(t *testing.T, expected, actual ast.FieldDecls)
func AssertFixedStringType ¶
func AssertFixedStringType(t *testing.T, expected, actual *ast.FixedStringType)
func AssertFormalParameters ¶
func AssertFormalParameters(t *testing.T, expected, actual ast.FormalParameters)
func AssertFormalParm ¶
func AssertFormalParm(t *testing.T, expected, actual *ast.FormalParm)
func AssertFunctionDecl ¶
func AssertFunctionDecl(t *testing.T, expected, actual *ast.FunctionDecl)
func AssertFunctionHeading ¶
func AssertFunctionHeading(t *testing.T, expected, actual *ast.FunctionHeading)
func AssertGotoStatement ¶
func AssertGotoStatement(t *testing.T, expected, actual *ast.GotoStatement)
func AssertImplementationSection ¶
func AssertImplementationSection(t *testing.T, expected, actual *ast.ImplementationSection)
func AssertInheritedStatement ¶
func AssertInheritedStatement(t *testing.T, expected, actual *ast.InheritedStatement)
func AssertInitSection ¶
func AssertInitSection(t *testing.T, expected, actual *ast.InitSection)
func AssertInterfaceDecl ¶
func AssertInterfaceDecl(t *testing.T, expected, actual ast.InterfaceDecl)
func AssertInterfaceDecls ¶
func AssertInterfaceDecls(t *testing.T, expected, actual ast.InterfaceDecls)
func AssertInterfaceSection ¶
func AssertInterfaceSection(t *testing.T, expected, actual *ast.InterfaceSection)
func AssertLabelDeclSection ¶
func AssertLabelDeclSection(t *testing.T, expected, actual *ast.LabelDeclSection)
func AssertMulOpFactor ¶
func AssertMulOpFactor(t *testing.T, expected, actual *ast.MulOpFactor)
func AssertMulOpFactors ¶
func AssertMulOpFactors(t *testing.T, expected, actual ast.MulOpFactors)
func AssertNumberFactor ¶
func AssertNumberFactor(t *testing.T, expected, actual *ast.NumberFactor)
func AssertOrdinalType ¶
func AssertOrdinalType(t *testing.T, expected, actual ast.OrdinalType)
func AssertOrdinalTypes ¶
func AssertOrdinalTypes(t *testing.T, expected, actual []ast.OrdinalType)
func AssertParameterType ¶
func AssertParameterType(t *testing.T, expected, actual *ast.ParameterType)
func AssertParentheses ¶
func AssertParentheses(t *testing.T, expected, actual *ast.Parentheses)
func AssertPortabilityDirective ¶
func AssertPortabilityDirective(t *testing.T, expected, actual *ast.PortabilityDirective)
func AssertProcedureDeclSection ¶
func AssertProcedureDeclSection(t *testing.T, expected, actual ast.ProcedureDeclSection)
func AssertProgramBlock ¶
func AssertProgramBlock(t *testing.T, expected *ast.ProgramBlock, actual *ast.ProgramBlock)
func AssertRecVariant ¶
func AssertRecVariant(t *testing.T, expected, actual *ast.RecVariant)
func AssertRecVariants ¶
func AssertRecVariants(t *testing.T, expected, actual ast.RecVariants)
func AssertRelOpSimpleExpression ¶
func AssertRelOpSimpleExpression(t *testing.T, expected, actual *ast.RelOpSimpleExpression)
func AssertRelOpSimpleExpressions ¶
func AssertRelOpSimpleExpressions(t *testing.T, expected, actual ast.RelOpSimpleExpressions)
func AssertRepeatStmt ¶
func AssertRepeatStmt(t *testing.T, expected, actual *ast.RepeatStmt)
func AssertSetConstructor ¶
func AssertSetConstructor(t *testing.T, expected, actual *ast.SetConstructor)
func AssertSetElement ¶
func AssertSetElement(t *testing.T, expected, actual *ast.SetElement)
func AssertSetElements ¶
func AssertSetElements(t *testing.T, expected, actual []*ast.SetElement)
func AssertSimpleExpression ¶
func AssertSimpleExpression(t *testing.T, expected, actual *ast.SimpleExpression)
func AssertSimpleType ¶
func AssertSimpleType(t *testing.T, expected, actual ast.SimpleType)
func AssertStatementBody ¶
func AssertStatementBody(t *testing.T, expected, actual ast.StatementBody)
func AssertStringFactor ¶
func AssertStringFactor(t *testing.T, expected, actual *ast.StringFactor)
func AssertStringType ¶
func AssertStringType(t *testing.T, expected, actual ast.StringType)
func AssertStructStmt ¶
func AssertStructStmt(t *testing.T, expected, actual ast.StructStmt)
func AssertSubrangeType ¶
func AssertSubrangeType(t *testing.T, expected, actual *ast.SubrangeType)
func AssertThreadVarDecl ¶
func AssertThreadVarDecl(t *testing.T, expected, actual *ast.ThreadVarDecl)
func AssertThreadVarSection ¶
func AssertThreadVarSection(t *testing.T, expected, actual ast.ThreadVarSection)
func AssertTryExceptStmt ¶
func AssertTryExceptStmt(t *testing.T, expected, actual *ast.TryExceptStmt)
func AssertTryFinallyStmt ¶
func AssertTryFinallyStmt(t *testing.T, expected, actual *ast.TryFinallyStmt)
func AssertTypeEmbedded ¶
func AssertTypeEmbedded(t *testing.T, expected, actual *ast.TypeEmbedded)
func AssertTypeSection ¶
func AssertTypeSection(t *testing.T, expected, actual ast.TypeSection)
func AssertUnitRef ¶
func AssertUnitRef(t *testing.T, expected, actual *ast.UsesClauseItem)
func AssertUsesClause ¶
func AssertUsesClause(t *testing.T, expected ast.UsesClause, actual ast.UsesClause)
func AssertValueFactor ¶
func AssertValueFactor(t *testing.T, expected, actual *ast.ValueFactor)
func AssertVarDeclAbsolute ¶
func AssertVarDeclAbsolute(t *testing.T, expected, actual ast.VarDeclAbsolute)
func AssertVarDeclAbsoluteConstExpr ¶
func AssertVarDeclAbsoluteConstExpr(t *testing.T, expected, actual *ast.VarDeclAbsoluteConstExpr)
func AssertVarDeclAbsoluteIdent ¶
func AssertVarDeclAbsoluteIdent(t *testing.T, expected, actual *ast.VarDeclAbsoluteIdent)
func AssertVarSection ¶
func AssertVarSection(t *testing.T, expected, actual ast.VarSection)
func AssertVariantSection ¶
func AssertVariantSection(t *testing.T, expected, actual *ast.VariantSection)
func ClearLocation ¶
func ClearUnitDeclMap ¶
func ClearUsesItemUnit ¶
func ClearUsesItemUnit(item *ast.UsesClauseItem)
func NewArrayParameterType ¶
func NewArrayParameterType(arg interface{}) *ast.ParameterType
func NewCaseLabel ¶
func NewConstExpr ¶
func NewDesignator ¶
func NewDesignator(arg interface{}) *ast.Designator
func NewDesignatorFactor ¶
func NewDesignatorFactor(arg interface{}) *ast.DesignatorFactor
func NewDesignatorItemIdent ¶
func NewDesignatorItemIdent(arg interface{}) *ast.DesignatorItemIdent
func NewExpression ¶
func NewExpression(arg interface{}) *ast.Expression
func NewExternalOptions ¶
func NewExternalOptions(libraryName string, args ...interface{}) *ast.ExternalOptions
func NewFixedStringType ¶
func NewFixedStringType(name interface{}, length *ast.ConstExpr) *ast.FixedStringType
func NewFormalParm ¶
func NewFormalParm(name interface{}, args ...interface{}) *ast.FormalParm
func NewIdentList ¶
func NewIdentLocation ¶
args are - *token.Token - *ast.Position, *ast.Position - startLine, startCol, startIndex, endCol - startLine, startCol, startIndex, endCol, endIndex - startLine, startCol, startIndex, endLine, endCol, endIndex
func NewIdentRef ¶
func NewLabelId ¶
func NewNumber ¶
func NewNumber(v string) *ast.NumberFactor
func NewOrdIdent ¶
func NewParameter ¶
func NewParameterType ¶
func NewParameterType(arg interface{}) *ast.ParameterType
func NewPosition ¶
NewPosition(line, col, index) NewPosition(1, col) NewPosition(col) // line is 1
func NewRealType ¶
func NewSetElement ¶
func NewSetElement(expr *ast.Expression) *ast.SetElement
func NewSimpleExpression ¶
func NewSimpleExpression(arg interface{}) *ast.SimpleExpression
func NewString ¶
func NewString(v string) *ast.StringFactor
func NewStringType ¶
func NewUnitRef ¶
func NewUnitRef(name interface{}, paths ...string) *ast.UsesClauseItem
func NewVarDeclAbsoluteIdent ¶
func NewVarDeclAbsoluteIdent(arg interface{}) *ast.VarDeclAbsoluteIdent
func NewVariantType ¶
Types ¶
This section is empty.
Source Files ¶
- assert_block.go
- assert_const.go
- assert_directive.go
- assert_expression.go
- assert_function.go
- assert_function_heading.go
- assert_ident.go
- assert_portability_directive.go
- assert_program.go
- assert_statement.go
- assert_type.go
- assert_type_embedded.go
- assert_type_simple.go
- assert_type_string.go
- assert_type_struc.go
- assert_unit.go
- assert_uses_clause.go
- assert_var.go
- block.go
- const.go
- directive.go
- expression.go
- function_heading.go
- ident.go
- statement.go
- type.go
- type_simple.go
- type_string.go
- type_variant.go
- unit.go
- uses_clause.go
- var.go
Click to show internal directories.
Click to hide internal directories.