Documentation
¶
Overview ¶
Package ttcn3 provides routines for evaluating TTCN-3 source code.
This package is in alpha stage, as we are still figuring out requirements and interfaces.
Index ¶
- type Tree
- func (t *Tree) Components() []*ast.ComponentTypeDecl
- func (t *Tree) Controls() []*ast.ControlPart
- func (t *Tree) Funcs() []*ast.FuncDecl
- func (t *Tree) Imports() []*ast.ImportDecl
- func (t *Tree) ModulePars() []*ast.Declarator
- func (t *Tree) Modules() []*ast.Module
- func (t *Tree) Ports() []*ast.PortTypeDecl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
Tree represents the TTCN-3 syntax tree, usually of a file.
func (*Tree) Components ¶ added in v0.12.0
func (t *Tree) Components() []*ast.ComponentTypeDecl
func (*Tree) Controls ¶ added in v0.12.0
func (t *Tree) Controls() []*ast.ControlPart
func (*Tree) Imports ¶ added in v0.12.0
func (t *Tree) Imports() []*ast.ImportDecl
func (*Tree) ModulePars ¶ added in v0.12.0
func (t *Tree) ModulePars() []*ast.Declarator
func (*Tree) Ports ¶ added in v0.12.0
func (t *Tree) Ports() []*ast.PortTypeDecl
Directories
¶
Path | Synopsis |
---|---|
Package ast provides TTCN-3 syntax tree nodes and functions for tree traversal.
|
Package ast provides TTCN-3 syntax tree nodes and functions for tree traversal. |
package doc provides helper functions to extract test tags and documents from TTCN-3 comments.
|
package doc provides helper functions to extract test tags and documents from TTCN-3 comments. |
Package parser implements a tolerant TTCN-3 parser library.
|
Package parser implements a tolerant TTCN-3 parser library. |
Package scanner provides a TTCN-3 scanner
|
Package scanner provides a TTCN-3 scanner |
Package token defines constants representing the lexical tokens of the TTCN-3 programming language and basic operations on tokens (printing, predicates).
|
Package token defines constants representing the lexical tokens of the TTCN-3 programming language and basic operations on tokens (printing, predicates). |
Package types provides TTCN-3 types, functions for compatibilty checks and a builder to create and resolve types from a TTCN-3 syntax tree.
|
Package types provides TTCN-3 types, functions for compatibilty checks and a builder to create and resolve types from a TTCN-3 syntax tree. |
Click to show internal directories.
Click to hide internal directories.