ANTLRLexerRuleReturnScope.h revision 324c4644fee44b9898524c09511bd33c3f12e2df
151a8d8528135ba4e3e4cf7cd711a9e47b19078a3Chris Lattner// [The "BSD licence"] 2deb9654056939a12981446f6ed1139dca3412746Vikram S. Adve// Copyright (c) 2006-2007 Kay Roepke 2010 Alan Condit 36fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell// All rights reserved. 46fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell// 56fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell// Redistribution and use in source and binary forms, with or without 66fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell// modification, are permitted provided that the following conditions 76fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell// are met: 86fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell// 1. Redistributions of source code must retain the above copyright 96fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell// notice, this list of conditions and the following disclaimer. 10e8b5413e5d0c7c0fc5b384e975c4ca87f4c00699Chris Lattner// 2. Redistributions in binary form must reproduce the above copyright 11e8b5413e5d0c7c0fc5b384e975c4ca87f4c00699Chris Lattner// notice, this list of conditions and the following disclaimer in the 1251a8d8528135ba4e3e4cf7cd711a9e47b19078a3Chris Lattner// documentation and/or other materials provided with the distribution. 13deb9654056939a12981446f6ed1139dca3412746Vikram S. Adve// 3. The name of the author may not be used to endorse or promote products 14fce1143bcfa73f61845002fa50473d1a01384202Misha Brukman// derived from this software without specific prior written permission. 15fce1143bcfa73f61845002fa50473d1a01384202Misha Brukman// 16deb9654056939a12981446f6ed1139dca3412746Vikram S. Adve// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17c0b9dc5be79f009d260edb5cd5e1d8346587aaa2Alkis Evlogimenos// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 180aef12a7a96968a80c38144dfc0a7ae6a9152db9Chris Lattner// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1994dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20f13a3f4dd1eaa89ca9a64a1e820b089facca3366Brian Gaeke// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21d0fde30ce850b78371fd1386338350591f9ff494Brian Gaeke// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22d0fde30ce850b78371fd1386338350591f9ff494Brian Gaeke// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 235e61fa95196b85281eec655787e9c73267532bd1Chris Lattner// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24d0fde30ce850b78371fd1386338350591f9ff494Brian Gaeke// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2594dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2694dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos 275e61fa95196b85281eec655787e9c73267532bd1Chris Lattner#import <Cocoa/Cocoa.h> 2894dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos 2994dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos@interface ANTLRLexerRuleReturnScope : NSObject { 3094dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos int startToken; 3194dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos int stopToken; 3294dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos} 3394dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos 3494dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos- (NSInteger) getStart; 3594dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos- (void) setStart: (NSInteger) aStart; 3694dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos 3794dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos- (NSInteger) getStop; 3894dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos- (void) setStop: (NSInteger) aStop; 3994dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos 4094dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos 4194dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos 4294dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos@end 4394dc07728f091c652f0a8059aba6dce5018485eeAlkis Evlogimenos