Versions in this module Expand all Collapse all v0 v0.1.1 Dec 2, 2019 v0.1.0 Oct 29, 2019 Changes in this version + const UNARY_MINUS + var ParsedRuleset ast.RuleSet + func Parse(input io.Reader) (rs *ast.RuleSet, err error) + func ParseString(s string) (*ast.RuleSet, error) + func YYmain(filenames ...string) (interface{}, error) + type Lexer struct + func (l *Lexer) Error(e string) + func (l *Lexer) Lex(lval *yrSymType) int + type Scanner struct + Context YYcontext + Filename string + In io.Reader + Interactive bool + IsInteractive func(io.Reader) bool + Lineno int + Out io.Writer + Wrap func(*Scanner) bool + func NewScanner() *Scanner + func (yy *Scanner) Input() (byte, error) + func (yy *Scanner) Lex() YYtype + func (yy *Scanner) NewFile() + func (yy *Scanner) Restart(input_file io.Reader) + type YYcontext struct + type YYtype interface + type YaraSerializer struct + func NewSerializer(w io.Writer) *YaraSerializer + func (ys *YaraSerializer) Serialize(rs *ast.RuleSet) error + func (ys *YaraSerializer) SerializeExpression(e *ast.Expression) error + func (ys *YaraSerializer) SerializeStringValue(str *ast.String) error + func (ys *YaraSerializer) SetIndent(indent string)