File: LTIStringCST.h

package info (click to toggle)
tom 1.1.1-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,340 kB
  • ctags: 2,244
  • sloc: objc: 27,863; ansic: 9,804; sh: 7,411; yacc: 3,377; lex: 966; asm: 208; makefile: 62; cpp: 10
file content (41 lines) | stat: -rw-r--r-- 974 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
   Written by Pieter J. Schoenmakers <tiggr@ics.ele.tue.nl>

   Copyright (C) 1996 Pieter J. Schoenmakers.

   This file is part of TOM.  TOM is distributed under the terms of the
   TOM License, a copy of which can be found in the TOM distribution; see
   the file LICENSE.

   $Id: LTIStringCST.h,v 1.6 1998/01/05 00:57:15 tiggr Exp $  */

#import "lti.h"

@interface LTIStringCST: LTTTop
{
  /* The structural counterpart of this string.  */
  LTTStringCST *structure;
}

/* Forget all strings.  */
+(void) sufferAmnesia;

/* Return an enumerator on _all_ defined strings.  */
+(id <TLEnumerator>) allStrings;

/* Return an enumerator on all unique strings.  */
+(id <TLEnumerator>) strings;

/* Return the unique string for the STRING, or NIL if it could not be
   found.  */
+(LTIStringCST *) stringForString: (id <TLString>) string;

-(LTTStringCST *) structure;

#ifdef LTISTRINGCST_DECLARE_PRIVATE_METHODS

-initWithStructure: (LTTStringCST *) str;

#endif

@end