/*
* Copyright (c) 2012 Sam Harwell, Tunnel Vision Laboratories LLC
* All rights reserved.
*
* The source code of this document is proprietary work, and is not licensed for
* distribution. For information about licensing, contact Sam Harwell at:
* sam@tunnelvisionlabs.com
*/
package org.antlr.works.editor.st4.parser;
import java.util.List;
import org.antlr.netbeans.editor.text.DocumentSnapshot;
import org.openide.util.Parameters;
/**
*
* @author Sam Harwell
*/
public class CompiledModel {
private final DocumentSnapshot snapshot;
private final CompiledFileModel result;
public CompiledModel(DocumentSnapshot snapshot, CompiledFileModel result) {
Parameters.notNull("result", result);
this.snapshot = snapshot;
this.result = result;
}
public DocumentSnapshot getSnapshot() {
return snapshot;
}
public CompiledFileModel getResult() {
return result;
}
public List<CompiledFileModel> getImportedGroupResults() {
return getResult().getImportedGroupResults();
}
}