public class LHS extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LHS.LHSop |
| Modifier and Type | Field and Description |
|---|---|
Literal |
clause |
LHS |
lhs1 |
LHS |
lhs2 |
Method |
method |
LHS.LHSop |
operator |
| Constructor and Description |
|---|
LHS() |
| Modifier and Type | Method and Description |
|---|---|
LHS |
deepCopy() |
static void |
main(String[] args)
A test method
|
static LHS |
parse(Lexer lex,
int startLine) |
static void |
testParse()
A test method
|
static void |
testParseProc()
A test method
|
static void |
testParseProc2()
A test method
|
String |
toString() |
public Literal clause
public LHS lhs1
public LHS lhs2
public LHS.LHSop operator
public Method method
public LHS deepCopy()
public static LHS parse(Lexer lex, int startLine)
lex - is a Lexer which has been initialized with the
textual version of the LHSstartLine - is the line in the text file at which the
LHS appears. If it is in a large rule the start line
could be different than the actual line of text for the LHS.
If the LHS is just from a string rather than directly from
a text file then the startLine will be 0.public static void testParse()
public static void testParseProc()
public static void testParseProc2()
public static void main(String[] args)
Copyright © 2015. All rights reserved.