Documentation ¶ Index ¶ type StackVars func (s *StackVars) Empty() bool func (s *StackVars) IncludesInNonTop(str string) bool func (s *StackVars) Len() int func (s *StackVars) Peep() ([]string, string) func (s *StackVars) Pop() (string, Type) func (s *StackVars) Push(expr string, t Type) func (s *StackVars) PushLhs(t Type) string type Type func (t Type) Cpp() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type StackVars ¶ type StackVars struct { VarName func(idx int) string // contains filtered or unexported fields } func (*StackVars) Empty ¶ func (s *StackVars) Empty() bool func (*StackVars) IncludesInNonTop ¶ func (s *StackVars) IncludesInNonTop(str string) bool IncludesInNonTop reports whether str is included in the exprs except for the top expr. func (*StackVars) Len ¶ func (s *StackVars) Len() int func (*StackVars) Peep ¶ func (s *StackVars) Peep() ([]string, string) func (*StackVars) Pop ¶ func (s *StackVars) Pop() (string, Type) func (*StackVars) Push ¶ func (s *StackVars) Push(expr string, t Type) func (*StackVars) PushLhs ¶ func (s *StackVars) PushLhs(t Type) string type Type ¶ type Type int const ( I32 Type = iota I64 F32 F64 ) func (Type) Cpp ¶ func (t Type) Cpp() string Source Files ¶ View all Source files stackvars.go Click to show internal directories. Click to hide internal directories.