예제 #1
0
파일: label.go 프로젝트: mm0205/gcasl
// NewLabel retruns a new label.
func NewLabel() *Label {
	return &Label{
		Element: share.NewEmptyElement(),
	}
}
예제 #2
0
파일: opcode.go 프로젝트: mm0205/gcasl
// NewOpcode returns a new opcode.
func NewOpcode() *Opcode {
	return &Opcode{
		Element: share.NewEmptyElement(),
	}
}
예제 #3
0
파일: comment.go 프로젝트: mm0205/gcasl
// NewComment returns a new comment.
func NewComment() *Comment {
	return &Comment{
		Element: share.NewEmptyElement(),
	}
}