Documentation
¶
Index ¶
- type AddExpr
- type AndBitwiseExpr
- type AndLogicalExpr
- type BinaryExpr
- func (e *BinaryExpr) GetAnOperand() *Expr
- func (e *BinaryExpr) GetKind() int
- func (e *BinaryExpr) GetLeftOperand() *Expr
- func (e *BinaryExpr) GetLeftOperandString() string
- func (e *BinaryExpr) GetOp() string
- func (e *BinaryExpr) GetRightOperand() *Expr
- func (e *BinaryExpr) GetRightOperandString() string
- func (e *BinaryExpr) HasOperands(expr1, expr2 *Expr) bool
- func (e *BinaryExpr) ToString() string
- type ClassInstanceExpr
- type ComparisonExpr
- type DivExpr
- type EqExpr
- type Expr
- type ExprParent
- type GEExpr
- type GTExpr
- type Javadoc
- func (j *Javadoc) GetCommentAuthor() string
- func (j *Javadoc) GetCommentParam() []string
- func (j *Javadoc) GetCommentReturn() string
- func (j *Javadoc) GetCommentSee() string
- func (j *Javadoc) GetCommentSince() string
- func (j *Javadoc) GetCommentThrows() string
- func (j *Javadoc) GetCommentVersion() string
- type JavadocTag
- type LEExpr
- type LTExpr
- type LeftShiftExpr
- type MulExpr
- type NEExpr
- type OrBitwiseExpr
- type OrLogicalExpr
- type RemExpr
- type RightShiftExpr
- type SubExpr
- type UnsignedRightShiftExpr
- type XorBitwiseExpr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddExpr ¶
type AddExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type AndBitwiseExpr ¶
type AndBitwiseExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
func (*AndBitwiseExpr) GetOp ¶
func (e *AndBitwiseExpr) GetOp() string
type AndLogicalExpr ¶
type AndLogicalExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
func (*AndLogicalExpr) GetOp ¶
func (e *AndLogicalExpr) GetOp() string
type BinaryExpr ¶
func (*BinaryExpr) GetAnOperand ¶
func (e *BinaryExpr) GetAnOperand() *Expr
func (*BinaryExpr) GetKind ¶
func (e *BinaryExpr) GetKind() int
func (*BinaryExpr) GetLeftOperand ¶
func (e *BinaryExpr) GetLeftOperand() *Expr
func (*BinaryExpr) GetLeftOperandString ¶
func (e *BinaryExpr) GetLeftOperandString() string
func (*BinaryExpr) GetOp ¶
func (e *BinaryExpr) GetOp() string
func (*BinaryExpr) GetRightOperand ¶
func (e *BinaryExpr) GetRightOperand() *Expr
func (*BinaryExpr) GetRightOperandString ¶
func (e *BinaryExpr) GetRightOperandString() string
func (*BinaryExpr) HasOperands ¶
func (e *BinaryExpr) HasOperands(expr1, expr2 *Expr) bool
func (*BinaryExpr) ToString ¶
func (e *BinaryExpr) ToString() string
type ClassInstanceExpr ¶
func (*ClassInstanceExpr) GetArg ¶
func (e *ClassInstanceExpr) GetArg(i int) *Expr
func (*ClassInstanceExpr) GetArgs ¶
func (e *ClassInstanceExpr) GetArgs() []*Expr
func (*ClassInstanceExpr) GetClassName ¶
func (e *ClassInstanceExpr) GetClassName() string
func (*ClassInstanceExpr) GetNumArgs ¶
func (e *ClassInstanceExpr) GetNumArgs() int
func (*ClassInstanceExpr) String ¶
func (e *ClassInstanceExpr) String() string
type ComparisonExpr ¶
type ComparisonExpr struct {
BinaryExpr
}
func (*ComparisonExpr) GetGreaterThanOperand ¶
func (e *ComparisonExpr) GetGreaterThanOperand() *Expr
func (*ComparisonExpr) GetLessThanOperand ¶
func (e *ComparisonExpr) GetLessThanOperand() *Expr
func (*ComparisonExpr) IsStrict ¶
func (e *ComparisonExpr) IsStrict() bool
type DivExpr ¶
type DivExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type EqExpr ¶
type EqExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type Expr ¶
func (*Expr) GetAChildExpr ¶
func (*Expr) GetBoolValue ¶
func (e *Expr) GetBoolValue()
func (*Expr) GetChildExpr ¶
func (*Expr) GetNumChildExpr ¶
type ExprParent ¶
type ExprParent struct{}
func (*ExprParent) GetAChildExpr ¶
func (e *ExprParent) GetAChildExpr() *Expr
func (*ExprParent) GetChildExpr ¶
func (e *ExprParent) GetChildExpr(_ int) *Expr
func (*ExprParent) GetNumChildExpr ¶
func (e *ExprParent) GetNumChildExpr() int64
type GEExpr ¶
type GEExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type GTExpr ¶
type GTExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type Javadoc ¶
type Javadoc struct {
Tags []*JavadocTag
NumberOfCommentLines int
CommentedCodeElements string
Version string // redundant from tags
Author string // redundant from tags
}
func (*Javadoc) GetCommentAuthor ¶
func (*Javadoc) GetCommentParam ¶
func (*Javadoc) GetCommentReturn ¶
func (*Javadoc) GetCommentSee ¶
func (*Javadoc) GetCommentSince ¶
func (*Javadoc) GetCommentThrows ¶
func (*Javadoc) GetCommentVersion ¶
type JavadocTag ¶
JavadocTag represents a generic Javadoc tag.
func NewJavadocTag ¶
func NewJavadocTag(tagName, text, docType string) *JavadocTag
NewJavadocTag is a constructor for JavadocTag.
type LEExpr ¶
type LEExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type LTExpr ¶
type LTExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type LeftShiftExpr ¶
type LeftShiftExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
func (*LeftShiftExpr) GetOp ¶
func (e *LeftShiftExpr) GetOp() string
type MulExpr ¶
type MulExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type NEExpr ¶
type NEExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type OrBitwiseExpr ¶
type OrBitwiseExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
func (*OrBitwiseExpr) GetOp ¶
func (e *OrBitwiseExpr) GetOp() string
type OrLogicalExpr ¶
type OrLogicalExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
func (*OrLogicalExpr) GetOp ¶
func (e *OrLogicalExpr) GetOp() string
type RemExpr ¶
type RemExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type RightShiftExpr ¶
type RightShiftExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
func (*RightShiftExpr) GetOp ¶
func (e *RightShiftExpr) GetOp() string
type SubExpr ¶
type SubExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
type UnsignedRightShiftExpr ¶
type UnsignedRightShiftExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
func (*UnsignedRightShiftExpr) GetOp ¶
func (e *UnsignedRightShiftExpr) GetOp() string
type XorBitwiseExpr ¶
type XorBitwiseExpr struct {
BinaryExpr
// contains filtered or unexported fields
}
func (*XorBitwiseExpr) GetOp ¶
func (e *XorBitwiseExpr) GetOp() string
Click to show internal directories.
Click to hide internal directories.