DynamicJava Javadoc: Class JavaCCParserFactory

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## koala.dynamicjava.parser.wrapper
Class JavaCCParserFactory

    java.lang.Object
      |
      +--koala.dynamicjava.parser.wrapper.JavaCCParserFactory

All Implemented Interfaces:
  ParserFactory

public class JavaCCParserFactory
extends java.lang.Object
implements ParserFactory

This class implements a JavaCCParser factory

Constructor Summary
`JavaCCParserFactory()`

Method Summary
`SourceCodeParser` | `createParser(java.io.InputStream is, java.lang.String fname)` Creates a new parser and returns it
`SourceCodeParser` | `createParser(java.io.Reader r, java.lang.String fname)` Creates a new parser and returns it

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JavaCCParserFactory

    public JavaCCParserFactory()

Method Detail

### createParser

    public SourceCodeParser createParser(java.io.InputStream is,
                                         java.lang.String fname)

  Creates a new parser and returns it
  Specified by:
    `createParser` in interface `ParserFactory`
  Parameters:
    `is` - the input stream
    `fname` - the file name

### createParser

    public SourceCodeParser createParser(java.io.Reader r,
                                         java.lang.String fname)

  Creates a new parser and returns it
  Specified by:
    `createParser` in interface `ParserFactory`
  Parameters:
    `r` - the reader
    `fname` - the file name

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001 Stephane Hillion. All Rights Reserved.