sync
[roojspacker] / obj-x86_64-linux-gnu / roojspacker / roojspacker-1.2-vala / source / roojspacker / TokenStream.vapi
1 /* TokenStream.vapi generated by valac 0.36.6, do not modify. */
2
3 using GLib;
4
5 namespace JSDOC {
6         public class TokenStream : Object {
7                 protected Gee.ArrayList<Token> tokens;
8                 public int cursor;
9                 public TokenStream (Gee.ArrayList<Token> tokens);
10                 public Gee.ArrayList<Token> toArray ();
11                 public void rewind ();
12                 public Token? look (int n, bool considerWhitespace);
13                 public Token lookAny (int n);
14                 public int lookFor (string data);
15                 public Token lookTok (int n);
16                 public Token? next ();
17                 public Gee.ArrayList<Token>? nextM (int howMany) throws TokenStreamError;
18                 public Token? nextTok ();
19                 public Token? nextNonSpace ();
20                 public Gee.ArrayList<Token> balance (TokenName in_start) throws TokenStreamError;
21                 public Token? getMatchingTokenEnd (TokenName end);
22                 public Token? getMatchingToken (TokenName start, int depth = 0);
23                 public Gee.ArrayList<Token> remaining ();
24                 public void printRange (int start, int end);
25                 public void dump (int start, int end);
26                 public void dumpAll (string indent);
27                 public void dumpAllFlat ();
28         }
29         public errordomain TokenStreamError {
30                 ArgumentError
31         }
32 }