@@ -13,9 +13,11 @@ module Bufio {
1313 FunctionModels ( ) {
1414 // signature: func NewReadWriter(r *Reader, w *Writer) *ReadWriter
1515 hasQualifiedName ( "bufio" , "NewReadWriter" ) and
16- ( inp .isParameter ( 0 ) and outp .isResult ( ) )
17- or
18- inp .isResult ( ) and outp .isParameter ( 1 )
16+ (
17+ inp .isParameter ( 0 ) and outp .isResult ( )
18+ or
19+ inp .isResult ( ) and outp .isParameter ( 1 )
20+ )
1921 or
2022 // signature: func NewReader(rd io.Reader) *Reader
2123 hasQualifiedName ( "bufio" , "NewReader" ) and
@@ -64,73 +66,72 @@ module Bufio {
6466 FunctionOutput outp ;
6567
6668 MethodModels ( ) {
67- // Methods:
6869 // signature: func (*Reader).Peek(n int) ([]byte, error)
69- this .( Method ) . hasQualifiedName ( "bufio" , "Reader" , "Peek" ) and
70+ this .hasQualifiedName ( "bufio" , "Reader" , "Peek" ) and
7071 ( inp .isReceiver ( ) and outp .isResult ( 0 ) )
7172 or
7273 // signature: func (*Reader).ReadByte() (byte, error)
73- this .( Method ) . hasQualifiedName ( "bufio" , "Reader" , "ReadByte" ) and
74+ this .hasQualifiedName ( "bufio" , "Reader" , "ReadByte" ) and
7475 ( inp .isReceiver ( ) and outp .isResult ( 0 ) )
7576 or
7677 // signature: func (*Reader).ReadBytes(delim byte) ([]byte, error)
77- this .( Method ) . hasQualifiedName ( "bufio" , "Reader" , "ReadBytes" ) and
78+ this .hasQualifiedName ( "bufio" , "Reader" , "ReadBytes" ) and
7879 ( inp .isReceiver ( ) and outp .isResult ( 0 ) )
7980 or
8081 // signature: func (*Reader).ReadLine() (line []byte, isPrefix bool, err error)
81- this .( Method ) . hasQualifiedName ( "bufio" , "Reader" , "ReadLine" ) and
82+ this .hasQualifiedName ( "bufio" , "Reader" , "ReadLine" ) and
8283 ( inp .isReceiver ( ) and outp .isResult ( 0 ) )
8384 or
8485 // signature: func (*Reader).ReadRune() (r rune, size int, err error)
85- this .( Method ) . hasQualifiedName ( "bufio" , "Reader" , "ReadRune" ) and
86+ this .hasQualifiedName ( "bufio" , "Reader" , "ReadRune" ) and
8687 ( inp .isReceiver ( ) and outp .isResult ( 0 ) )
8788 or
8889 // signature: func (*Reader).ReadSlice(delim byte) (line []byte, err error)
89- this .( Method ) . hasQualifiedName ( "bufio" , "Reader" , "ReadSlice" ) and
90+ this .hasQualifiedName ( "bufio" , "Reader" , "ReadSlice" ) and
9091 ( inp .isReceiver ( ) and outp .isResult ( 0 ) )
9192 or
9293 // signature: func (*Reader).ReadString(delim byte) (string, error)
93- this .( Method ) . hasQualifiedName ( "bufio" , "Reader" , "ReadString" ) and
94+ this .hasQualifiedName ( "bufio" , "Reader" , "ReadString" ) and
9495 ( inp .isReceiver ( ) and outp .isResult ( 0 ) )
9596 or
9697 // signature: func (*Reader).Reset(r io.Reader)
97- this .( Method ) . hasQualifiedName ( "bufio" , "Reader" , "Reset" ) and
98+ this .hasQualifiedName ( "bufio" , "Reader" , "Reset" ) and
9899 ( inp .isParameter ( 0 ) and outp .isReceiver ( ) )
99100 or
100101 // signature: func (*Reader).WriteTo(w io.Writer) (n int64, err error)
101- this .( Method ) . hasQualifiedName ( "bufio" , "Reader" , "WriteTo" ) and
102+ this .hasQualifiedName ( "bufio" , "Reader" , "WriteTo" ) and
102103 ( inp .isReceiver ( ) and outp .isParameter ( 0 ) )
103104 or
104105 // signature: func (*Scanner).Bytes() []byte
105- this .( Method ) . hasQualifiedName ( "bufio" , "Scanner" , "Bytes" ) and
106+ this .hasQualifiedName ( "bufio" , "Scanner" , "Bytes" ) and
106107 ( inp .isReceiver ( ) and outp .isResult ( ) )
107108 or
108109 // signature: func (*Scanner).Text() string
109- this .( Method ) . hasQualifiedName ( "bufio" , "Scanner" , "Text" ) and
110+ this .hasQualifiedName ( "bufio" , "Scanner" , "Text" ) and
110111 ( inp .isReceiver ( ) and outp .isResult ( ) )
111112 or
112113 // signature: func (*Writer).ReadFrom(r io.Reader) (n int64, err error)
113- this .( Method ) . hasQualifiedName ( "bufio" , "Writer" , "ReadFrom" ) and
114+ this .hasQualifiedName ( "bufio" , "Writer" , "ReadFrom" ) and
114115 ( inp .isParameter ( 0 ) and outp .isReceiver ( ) )
115116 or
116117 // signature: func (*Writer).Reset(w io.Writer)
117- this .( Method ) . hasQualifiedName ( "bufio" , "Writer" , "Reset" ) and
118+ this .hasQualifiedName ( "bufio" , "Writer" , "Reset" ) and
118119 ( inp .isReceiver ( ) and outp .isParameter ( 0 ) )
119120 or
120121 // signature: func (*Writer).Write(p []byte) (nn int, err error)
121- this .( Method ) . hasQualifiedName ( "bufio" , "Writer" , "Write" ) and
122+ this .hasQualifiedName ( "bufio" , "Writer" , "Write" ) and
122123 ( inp .isParameter ( 0 ) and outp .isReceiver ( ) )
123124 or
124125 // signature: func (*Writer).WriteByte(c byte) error
125- this .( Method ) . hasQualifiedName ( "bufio" , "Writer" , "WriteByte" ) and
126+ this .hasQualifiedName ( "bufio" , "Writer" , "WriteByte" ) and
126127 ( inp .isParameter ( 0 ) and outp .isReceiver ( ) )
127128 or
128129 // signature: func (*Writer).WriteRune(r rune) (size int, err error)
129- this .( Method ) . hasQualifiedName ( "bufio" , "Writer" , "WriteRune" ) and
130+ this .hasQualifiedName ( "bufio" , "Writer" , "WriteRune" ) and
130131 ( inp .isParameter ( 0 ) and outp .isReceiver ( ) )
131132 or
132133 // signature: func (*Writer).WriteString(s string) (int, error)
133- this .( Method ) . hasQualifiedName ( "bufio" , "Writer" , "WriteString" ) and
134+ this .hasQualifiedName ( "bufio" , "Writer" , "WriteString" ) and
134135 ( inp .isParameter ( 0 ) and outp .isReceiver ( ) )
135136 }
136137
0 commit comments