Documentation ¶
Index ¶
- func ErrorLoc(err error, src []byte) string
- func Loc(t Token) string
- func Text(t Token, src []byte) string
- type Access
- type Add
- type AddEnable
- type And
- type Ass
- type Atomic
- type BitAnd
- type BitOr
- type BitString
- type Block
- type Bool
- type Bus
- type ByteWriteEnable
- type Clear
- type Colon
- type Comma
- type Comment
- type Config
- type Const
- type Dedent
- type Delay
- type Div
- type EnableInitValue
- type EnableResetValue
- type Eof
- type Eq
- type Error
- type Exp
- type Functionality
- type Greater
- type GreaterEq
- type Groups
- type Ident
- type Import
- type InTrigger
- type Indent
- type InitValue
- type Int
- type Irq
- type LeftBrace
- type LeftBracket
- type LeftParen
- type LeftShift
- type Less
- type LessEq
- type Mask
- type Masters
- type Memory
- type Mul
- type Neg
- type Neq
- type Newline
- type None
- type Number
- type Operator
- type Or
- type OutTrigger
- type Param
- type Period
- type Proc
- type Property
- type QualIdent
- type Range
- type ReadLatency
- type ReadValue
- type Real
- type Rem
- type Reset
- type ResetValue
- type Return
- type RightBrace
- type RightBracket
- type RightParen
- type RightShift
- type Semicolon
- type Size
- type Static
- type Status
- type Stream
- type String
- type Sub
- type Time
- type Token
- type Type
- type Width
- type Xor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BitAnd ¶
type BitAnd struct {
// contains filtered or unexported fields
}
&
func (BitAnd) Precedence ¶
type BitOr ¶
type BitOr struct {
// contains filtered or unexported fields
}
|
func (BitOr) Precedence ¶
type ByteWriteEnable ¶
type ByteWriteEnable struct {
// contains filtered or unexported fields
}
func (ByteWriteEnable) Column ¶
func (bwe ByteWriteEnable) Column() int
func (ByteWriteEnable) End ¶
func (bwe ByteWriteEnable) End() int
func (ByteWriteEnable) Line ¶
func (bwe ByteWriteEnable) Line() int
func (ByteWriteEnable) Name ¶
func (bwe ByteWriteEnable) Name() string
func (ByteWriteEnable) Start ¶
func (bwe ByteWriteEnable) Start() int
type EnableInitValue ¶
type EnableInitValue struct {
// contains filtered or unexported fields
}
func (EnableInitValue) Column ¶
func (eiv EnableInitValue) Column() int
func (EnableInitValue) End ¶
func (eiv EnableInitValue) End() int
func (EnableInitValue) Line ¶
func (eiv EnableInitValue) Line() int
func (EnableInitValue) Name ¶
func (eiv EnableInitValue) Name() string
func (EnableInitValue) Start ¶
func (eiv EnableInitValue) Start() int
type EnableResetValue ¶
type EnableResetValue struct {
// contains filtered or unexported fields
}
func (EnableResetValue) Column ¶
func (erv EnableResetValue) Column() int
func (EnableResetValue) End ¶
func (erv EnableResetValue) End() int
func (EnableResetValue) Line ¶
func (erv EnableResetValue) Line() int
func (EnableResetValue) Name ¶
func (erv EnableResetValue) Name() string
func (EnableResetValue) Start ¶
func (erv EnableResetValue) Start() int
type Functionality ¶
type Functionality interface { Token // contains filtered or unexported methods }
type Greater ¶
type Greater struct {
// contains filtered or unexported fields
}
>
func (Greater) Precedence ¶
type GreaterEq ¶
type GreaterEq struct {
// contains filtered or unexported fields
}
>=
func (GreaterEq) Precedence ¶
type LeftBrace ¶
type LeftBrace struct {
// contains filtered or unexported fields
}
{ - currently unused
type LeftBracket ¶
type LeftBracket struct {
// contains filtered or unexported fields
}
[
func (LeftBracket) Column ¶
func (lb LeftBracket) Column() int
func (LeftBracket) End ¶
func (lb LeftBracket) End() int
func (LeftBracket) Line ¶
func (lb LeftBracket) Line() int
func (LeftBracket) Name ¶
func (lb LeftBracket) Name() string
func (LeftBracket) Start ¶
func (lb LeftBracket) Start() int
type LeftShift ¶
type LeftShift struct {
// contains filtered or unexported fields
}
<<
func (LeftShift) Precedence ¶
type Less ¶
type Less struct {
// contains filtered or unexported fields
}
<
func (Less) Precedence ¶
type LessEq ¶
type LessEq struct {
// contains filtered or unexported fields
}
<=
func (LessEq) Precedence ¶
type OutTrigger ¶
type OutTrigger struct {
// contains filtered or unexported fields
}
func (OutTrigger) Column ¶
func (ot OutTrigger) Column() int
func (OutTrigger) End ¶
func (ot OutTrigger) End() int
func (OutTrigger) Line ¶
func (ot OutTrigger) Line() int
func (OutTrigger) Name ¶
func (ot OutTrigger) Name() string
func (OutTrigger) Start ¶
func (ot OutTrigger) Start() int
type QualIdent ¶
type QualIdent struct {
// contains filtered or unexported fields
}
Qualified Identifier
type ReadLatency ¶
type ReadLatency struct {
// contains filtered or unexported fields
}
func (ReadLatency) Column ¶
func (rl ReadLatency) Column() int
func (ReadLatency) End ¶
func (rl ReadLatency) End() int
func (ReadLatency) Line ¶
func (rl ReadLatency) Line() int
func (ReadLatency) Name ¶
func (rl ReadLatency) Name() string
func (ReadLatency) Start ¶
func (rl ReadLatency) Start() int
type ResetValue ¶
type ResetValue struct {
// contains filtered or unexported fields
}
func (ResetValue) Column ¶
func (rv ResetValue) Column() int
func (ResetValue) End ¶
func (rv ResetValue) End() int
func (ResetValue) Line ¶
func (rv ResetValue) Line() int
func (ResetValue) Name ¶
func (rv ResetValue) Name() string
func (ResetValue) Start ¶
func (rv ResetValue) Start() int
type RightBrace ¶
type RightBrace struct {
// contains filtered or unexported fields
}
} - currently unused
func (RightBrace) Column ¶
func (rb RightBrace) Column() int
func (RightBrace) End ¶
func (rb RightBrace) End() int
func (RightBrace) Line ¶
func (rb RightBrace) Line() int
func (RightBrace) Name ¶
func (rb RightBrace) Name() string
func (RightBrace) Start ¶
func (rb RightBrace) Start() int
type RightBracket ¶
type RightBracket struct {
// contains filtered or unexported fields
}
]
func (RightBracket) Column ¶
func (rb RightBracket) Column() int
func (RightBracket) End ¶
func (rb RightBracket) End() int
func (RightBracket) Line ¶
func (rb RightBracket) Line() int
func (RightBracket) Name ¶
func (rb RightBracket) Name() string
func (RightBracket) Start ¶
func (rb RightBracket) Start() int
type RightParen ¶
type RightParen struct {
// contains filtered or unexported fields
}
)
func (RightParen) Column ¶
func (rp RightParen) Column() int
func (RightParen) End ¶
func (rp RightParen) End() int
func (RightParen) Line ¶
func (rp RightParen) Line() int
func (RightParen) Name ¶
func (lp RightParen) Name() string
func (RightParen) Start ¶
func (rp RightParen) Start() int
type RightShift ¶
type RightShift struct {
// contains filtered or unexported fields
}
>>
func (RightShift) Column ¶
func (rs RightShift) Column() int
func (RightShift) End ¶
func (rs RightShift) End() int
func (RightShift) Line ¶
func (rs RightShift) Line() int
func (RightShift) Name ¶
func (ls RightShift) Name() string
func (RightShift) Precedence ¶
func (ls RightShift) Precedence() int
func (RightShift) Start ¶
func (rs RightShift) Start() int
Click to show internal directories.
Click to hide internal directories.