本文整理了Java中ch.qos.logback.core.subst.Node.append()
方法的一些代码示例,展示了Node.append()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Node.append()
方法的具体详情如下:
包路径:ch.qos.logback.core.subst.Node
类名称:Node
方法名:append
暂无
代码示例来源:origin: camunda/camunda-bpm-platform
private Node E() throws ScanException {
Node t = T();
if (t == null) {
return null;
}
Node eOpt = Eopt();
if (eOpt != null) {
t.append(eOpt);
}
return t;
}
代码示例来源:origin: camunda/camunda-bpm-platform
private Node C() throws ScanException {
Node e0 = E();
Token t = peekAtCurentToken();
if (isDefaultToken(t)) {
advanceTokenPointer();
Node literal = makeNewLiteralNode(CoreConstants.DEFAULT_VALUE_SEPARATOR);
e0.append(literal);
Node e1 = E();
e0.append(e1);
}
return e0;
}
代码示例来源:origin: camunda/camunda-bpm-platform
private Node T() throws ScanException {
Token t = peekAtCurentToken();
switch (t.type) {
case LITERAL:
advanceTokenPointer();
return makeNewLiteralNode(t.payload);
case CURLY_LEFT:
advanceTokenPointer();
Node innerNode = C();
Token right = peekAtCurentToken();
expectCurlyRight(right);
advanceTokenPointer();
Node curlyLeft = makeNewLiteralNode(CoreConstants.LEFT_ACCOLADE);
curlyLeft.append(innerNode);
curlyLeft.append(makeNewLiteralNode(CoreConstants.RIGHT_ACCOLADE));
return curlyLeft;
case START:
advanceTokenPointer();
Node v = V();
Token w = peekAtCurentToken();
expectCurlyRight(w);
advanceTokenPointer();
return v;
default:
return null;
}
}
代码示例来源:origin: tony19/logback-android
private Node E() throws ScanException {
Node t = T();
if (t == null) {
return null;
}
Node eOpt = Eopt();
if (eOpt != null) {
t.append(eOpt);
}
return t;
}
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
private Node E() throws ScanException {
Node t = T();
if (t == null) {
return null;
}
Node eOpt = Eopt();
if (eOpt != null) {
t.append(eOpt);
}
return t;
}
代码示例来源:origin: com.hynnet/logback-core
private Node E() throws ScanException {
Node t = T();
if (t == null) {
return null;
}
Node eOpt = Eopt();
if (eOpt != null) {
t.append(eOpt);
}
return t;
}
代码示例来源:origin: io.virtdata/virtdata-lib-realer
private Node E() throws ScanException {
Node t = T();
if (t == null) {
return null;
}
Node eOpt = Eopt();
if (eOpt != null) {
t.append(eOpt);
}
return t;
}
代码示例来源:origin: Nextdoor/bender
private Node E() throws ScanException {
Node t = T();
if (t == null) {
return null;
}
Node eOpt = Eopt();
if (eOpt != null) {
t.append(eOpt);
}
return t;
}
代码示例来源:origin: tony19/logback-android
private Node C() throws ScanException {
Node e0 = E();
Token t = peekAtCurentToken();
if (isDefaultToken(t)) {
advanceTokenPointer();
Node literal = makeNewLiteralNode(CoreConstants.DEFAULT_VALUE_SEPARATOR);
e0.append(literal);
Node e1 = E();
e0.append(e1);
}
return e0;
}
代码示例来源:origin: com.hynnet/logback-core
private Node C() throws ScanException {
Node e0 = E();
Token t = peekAtCurentToken();
if (isDefaultToken(t)) {
advanceTokenPointer();
Node literal = makeNewLiteralNode(CoreConstants.DEFAULT_VALUE_SEPARATOR);
e0.append(literal);
Node e1 = E();
e0.append(e1);
}
return e0;
}
代码示例来源:origin: io.virtdata/virtdata-lib-realer
private Node C() throws ScanException {
Node e0 = E();
Token t = peekAtCurentToken();
if (isDefaultToken(t)) {
advanceTokenPointer();
Node literal = makeNewLiteralNode(CoreConstants.DEFAULT_VALUE_SEPARATOR);
e0.append(literal);
Node e1 = E();
e0.append(e1);
}
return e0;
}
代码示例来源:origin: Nextdoor/bender
private Node C() throws ScanException {
Node e0 = E();
Token t = peekAtCurentToken();
if (isDefaultToken(t)) {
advanceTokenPointer();
Node literal = makeNewLiteralNode(CoreConstants.DEFAULT_VALUE_SEPARATOR);
e0.append(literal);
Node e1 = E();
e0.append(e1);
}
return e0;
}
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
private Node C() throws ScanException {
Node e0 = E();
Token t = peekAtCurentToken();
if (isDefaultToken(t)) {
advanceTokenPointer();
Node literal = makeNewLiteralNode(CoreConstants.DEFAULT_VALUE_SEPARATOR);
e0.append(literal);
Node e1 = E();
e0.append(e1);
}
return e0;
}
代码示例来源:origin: io.virtdata/virtdata-lib-realer
private Node T() throws ScanException {
Token t = peekAtCurentToken();
switch (t.type) {
case LITERAL:
advanceTokenPointer();
return makeNewLiteralNode(t.payload);
case CURLY_LEFT:
advanceTokenPointer();
Node innerNode = C();
Token right = peekAtCurentToken();
expectCurlyRight(right);
advanceTokenPointer();
Node curlyLeft = makeNewLiteralNode(CoreConstants.LEFT_ACCOLADE);
curlyLeft.append(innerNode);
curlyLeft.append(makeNewLiteralNode(CoreConstants.RIGHT_ACCOLADE));
return curlyLeft;
case START:
advanceTokenPointer();
Node v = V();
Token w = peekAtCurentToken();
expectCurlyRight(w);
advanceTokenPointer();
return v;
default:
return null;
}
}
代码示例来源:origin: tony19/logback-android
private Node T() throws ScanException {
Token t = peekAtCurentToken();
switch (t.type) {
case LITERAL:
advanceTokenPointer();
return makeNewLiteralNode(t.payload);
case CURLY_LEFT:
advanceTokenPointer();
Node innerNode = C();
Token right = peekAtCurentToken();
expectCurlyRight(right);
advanceTokenPointer();
Node curlyLeft = makeNewLiteralNode(CoreConstants.LEFT_ACCOLADE);
curlyLeft.append(innerNode);
curlyLeft.append(makeNewLiteralNode(CoreConstants.RIGHT_ACCOLADE));
return curlyLeft;
case START:
advanceTokenPointer();
Node v = V();
Token w = peekAtCurentToken();
expectCurlyRight(w);
advanceTokenPointer();
return v;
default:
return null;
}
}
代码示例来源:origin: Nextdoor/bender
private Node T() throws ScanException {
Token t = peekAtCurentToken();
switch (t.type) {
case LITERAL:
advanceTokenPointer();
return makeNewLiteralNode(t.payload);
case CURLY_LEFT:
advanceTokenPointer();
Node innerNode = C();
Token right = peekAtCurentToken();
expectCurlyRight(right);
advanceTokenPointer();
Node curlyLeft = makeNewLiteralNode(CoreConstants.LEFT_ACCOLADE);
curlyLeft.append(innerNode);
curlyLeft.append(makeNewLiteralNode(CoreConstants.RIGHT_ACCOLADE));
return curlyLeft;
case START:
advanceTokenPointer();
Node v = V();
Token w = peekAtCurentToken();
expectCurlyRight(w);
advanceTokenPointer();
return v;
default:
return null;
}
}
代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded
private Node T() throws ScanException {
Token t = peekAtCurentToken();
switch (t.type) {
case LITERAL:
advanceTokenPointer();
return makeNewLiteralNode(t.payload);
case CURLY_LEFT:
advanceTokenPointer();
Node innerNode = C();
Token right = peekAtCurentToken();
expectCurlyRight(right);
advanceTokenPointer();
Node curlyLeft = makeNewLiteralNode(CoreConstants.LEFT_ACCOLADE);
curlyLeft.append(innerNode);
curlyLeft.append(makeNewLiteralNode(CoreConstants.RIGHT_ACCOLADE));
return curlyLeft;
case START:
advanceTokenPointer();
Node v = V();
Token w = peekAtCurentToken();
expectCurlyRight(w);
advanceTokenPointer();
return v;
default:
return null;
}
}
代码示例来源:origin: com.hynnet/logback-core
private Node T() throws ScanException {
Token t = peekAtCurentToken();
switch (t.type) {
case LITERAL:
advanceTokenPointer();
return makeNewLiteralNode(t.payload);
case CURLY_LEFT:
advanceTokenPointer();
Node innerNode = C();
Token right = peekAtCurentToken();
expectCurlyRight(right);
advanceTokenPointer();
Node curlyLeft = makeNewLiteralNode(CoreConstants.LEFT_ACCOLADE);
curlyLeft.append(innerNode);
curlyLeft.append(makeNewLiteralNode(CoreConstants.RIGHT_ACCOLADE));
return curlyLeft;
case START:
advanceTokenPointer();
Node v = V();
Token w = peekAtCurentToken();
expectCurlyRight(w);
advanceTokenPointer();
return v;
default:
return null;
}
}
内容来源于网络,如有侵权,请联系作者删除!