MCPcopy Create free account
hub / github.com/beanshell/beanshell / PreIncrementExpression

Method PreIncrementExpression

src/bsh/Parser.java:1872–1891  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1870 }
1871
1872 final public void PreIncrementExpression() throws ParseException {
1873 Token t = null;
1874 t = jj_consume_token(INCR);
1875 PrimaryExpression();
1876 BSHUnaryExpression jjtn001 = new BSHUnaryExpression(JJTUNARYEXPRESSION);
1877 boolean jjtc001 = true;
1878 jjtree.openNodeScope(jjtn001);
1879 jjtreeOpenNodeScope(jjtn001);
1880 try {
1881 jjtree.closeNodeScope(jjtn001, 1);
1882 jjtc001 = false;
1883 jjtreeCloseNodeScope(jjtn001);
1884 jjtn001.kind = t.kind;
1885 } finally {
1886 if (jjtc001) {
1887 jjtree.closeNodeScope(jjtn001, 1);
1888 jjtreeCloseNodeScope(jjtn001);
1889 }
1890 }
1891 }
1892
1893 final public void PreDecrementExpression() throws ParseException {
1894 Token t = null;

Callers 1

UnaryExpressionMethod · 0.95

Calls 6

jj_consume_tokenMethod · 0.95
PrimaryExpressionMethod · 0.95
jjtreeOpenNodeScopeMethod · 0.95
jjtreeCloseNodeScopeMethod · 0.95
openNodeScopeMethod · 0.80
closeNodeScopeMethod · 0.80

Tested by

no test coverage detected