org.eclipse.xtext.ui.codetemplates.ui.projectedEditing
Class PartialParser

java.lang.Object
  extended by org.eclipse.xtext.ui.codetemplates.ui.projectedEditing.PartialParser
All Implemented Interfaces:
IParser

public class PartialParser
extends java.lang.Object
implements IParser

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.parser.IParser
IParser.NullImpl
 
Constructor Summary
protected PartialParser(IParser originalParser, ParserRule rule)
           
 
Method Summary
static void assignRootRule(XtextResource resource, ParserRule rule)
           
 IParseResult parse(ParserRule rule, java.io.Reader reader)
           
 IParseResult parse(java.io.Reader reader)
           
 IParseResult parse(RuleCall ruleCall, java.io.Reader reader, int initialLookAhead)
           
 IParseResult reparse(IParseResult previousParseResult, ReplaceRegion replaceRegion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialParser

protected PartialParser(IParser originalParser,
                        ParserRule rule)
Method Detail

assignRootRule

public static void assignRootRule(XtextResource resource,
                                  ParserRule rule)

parse

public IParseResult parse(java.io.Reader reader)
Specified by:
parse in interface IParser

parse

public IParseResult parse(ParserRule rule,
                          java.io.Reader reader)
Specified by:
parse in interface IParser

parse

public IParseResult parse(RuleCall ruleCall,
                          java.io.Reader reader,
                          int initialLookAhead)
Specified by:
parse in interface IParser

reparse

public IParseResult reparse(IParseResult previousParseResult,
                            ReplaceRegion replaceRegion)
Specified by:
reparse in interface IParser