Help us shape the future of Go! Take the 2026 Go Developer Survey

model

package
v0.0.0-...-f40ad64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

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
}

func (*AddExpr) GetOp

func (e *AddExpr) GetOp() string

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

type BinaryExpr struct {
	Expr
	Op           string
	LeftOperand  *Expr
	RightOperand *Expr
}

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 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
}

func (*DivExpr) GetOp

func (e *DivExpr) GetOp() string

type EqExpr

type EqExpr struct {
	BinaryExpr
	// contains filtered or unexported fields
}

func (*EqExpr) GetOp

func (e *EqExpr) GetOp() string

type Expr

type Expr struct {
	ExprParent

	Node       sitter.Node
	NodeString string
	// contains filtered or unexported fields
}

func (*Expr) GetAChildExpr

func (e *Expr) GetAChildExpr() *Expr

func (*Expr) GetBoolValue

func (e *Expr) GetBoolValue()

func (*Expr) GetChildExpr

func (e *Expr) GetChildExpr(_ int) *Expr

func (*Expr) GetKind

func (e *Expr) GetKind() int

func (*Expr) GetNumChildExpr

func (e *Expr) GetNumChildExpr() int64

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
}

func (*GEExpr) GetOp

func (e *GEExpr) GetOp() string

type GTExpr

type GTExpr struct {
	BinaryExpr
	// contains filtered or unexported fields
}

func (*GTExpr) GetOp

func (e *GTExpr) GetOp() string

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 (j *Javadoc) GetCommentAuthor() string

func (*Javadoc) GetCommentParam

func (j *Javadoc) GetCommentParam() []string

func (*Javadoc) GetCommentReturn

func (j *Javadoc) GetCommentReturn() string

func (*Javadoc) GetCommentSee

func (j *Javadoc) GetCommentSee() string

func (*Javadoc) GetCommentSince

func (j *Javadoc) GetCommentSince() string

func (*Javadoc) GetCommentThrows

func (j *Javadoc) GetCommentThrows() string

func (*Javadoc) GetCommentVersion

func (j *Javadoc) GetCommentVersion() string

type JavadocTag

type JavadocTag struct {
	TagName string
	Text    string
	DocType string
}

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
}

func (*LEExpr) GetOp

func (e *LEExpr) GetOp() string

type LTExpr

type LTExpr struct {
	BinaryExpr
	// contains filtered or unexported fields
}

func (*LTExpr) GetOp

func (e *LTExpr) GetOp() string

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
}

func (*MulExpr) GetOp

func (e *MulExpr) GetOp() string

type NEExpr

type NEExpr struct {
	BinaryExpr
	// contains filtered or unexported fields
}

func (*NEExpr) GetOp

func (e *NEExpr) GetOp() string

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
}

func (*RemExpr) GetOp

func (e *RemExpr) GetOp() string

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
}

func (*SubExpr) GetOp

func (e *SubExpr) GetOp() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL