public abstract class Token extends Object
Constructor and Description |
---|
Token() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(AttributeExp p) |
boolean |
match(DataExp p)
returns true if the given DataExp can consume this token
|
boolean |
match(ElementExp p)
returns true if the given ElementExp can consume this token
|
boolean |
match(ListExp p)
returns true if the given ListExp can consume this token
|
boolean |
match(ValueExp p) |
boolean |
matchAnyString()
returns true if anyString pattern can consume this token
|
public boolean match(ElementExp p)
public boolean match(AttributeExp p)
public boolean match(DataExp p)
public boolean match(ValueExp p)
public boolean match(ListExp p)
public boolean matchAnyString()
Copyright © 2016 Oracle Corporation. All rights reserved.