Home | History | Annotate | Download | only in lexer

Lines Matching refs:should

34     lexer.properties.should have( 3 ).things
36 text.should == 'foobar'
37 type.should == RuleProperty::TokenData::IDENTIFIER
38 line.should == 1
39 pos.should == 0
40 index.should == -1
41 channel.should == ANTLR3::DEFAULT_CHANNEL
42 start.should == 0
43 stop.should == 5
46 text.should == '_ab98'
47 type.should == RuleProperty::TokenData::IDENTIFIER
48 line.should == 1
49 pos.should == 7
50 index.should == -1
51 channel.should == ANTLR3::DEFAULT_CHANNEL
52 start.should == 7
53 stop.should == 11
55 lexer.properties.should have( 3 ).things
57 text.should == 'A12sdf'
58 type.should == RuleProperty::TokenData::IDENTIFIER
59 line.should == 2
60 pos.should == 1
61 index.should == -1
62 channel.should == ANTLR3::DEFAULT_CHANNEL
63 start.should == 15
64 stop.should == 20
100 lexer.token_text.should == ' '