Documentation ¶
Index ¶
Constants ¶
View Source
const COLON = 57358
View Source
const DOT = 57357
View Source
const END_BLOCK = 57353
View Source
const EOM = 57347
View Source
const EQUAL = 57348
View Source
const GT = 57355
View Source
const HYPHEN = 57354
View Source
const LABEL_CLASS = 57350
View Source
const LABEL_CLD = 57349
View Source
const LABEL_NAMESPACE = 57351
View Source
const PIPE = 57356
View Source
const START_BLOCK = 57352
View Source
const WORD = 57346
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Class ¶
type Class struct {
// contains filtered or unexported fields
}
クラス
func CreateClass ¶
各オブジェクトからクラスを作成する
type ClassDiagram ¶
type ClassDiagram struct {
// contains filtered or unexported fields
}
クラス図
func CreateClassDiagram ¶
func CreateClassDiagram(name string, namespaces []*Namespace, classes []*Class, relations []*Relation) *ClassDiagram
クラス図作成
func (*ClassDiagram) AddNamespace ¶
func (this *ClassDiagram) AddNamespace(ns *Namespace)
Namespace を追加
func (*ClassDiagram) AddRelation ¶
func (this *ClassDiagram) AddRelation(relation *Relation)
Relation を追加
type Lexer ¶
yyLexer インタフェースを実装したオブジェクトを作成する。 こいつの Lex メソッドが、字句解析を担当する。
type Namespace ¶
type Namespace struct {
// contains filtered or unexported fields
}
名前空間(パッケージ)
func CreateNamespace ¶
Namespace を作成する
func (*Namespace) AddNamespace ¶
Namespace を追加
type Relation ¶
type Relation struct {
// contains filtered or unexported fields
}
関係
func CreateRelation ¶
func CreateRelation(name string, relationType RelationType, fromClass string, toClass string, fromMultiplicity string, toMultiplicity string) *Relation
Relation を作成する
type RelationType ¶
type RelationType int
const ( RELATION_NORMAL RelationType = iota RELATION_INHERIT RELATION_IMPLEMENT RELATION_AGGREGATION RELATION_COMPOSITION )
関係の種類
Click to show internal directories.
Click to hide internal directories.