org.stringtemplate.v4.STGroup.getEmbeddedInstanceOf()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(7.8k)|赞(0)|评价(0)|浏览(85)

本文整理了Java中org.stringtemplate.v4.STGroup.getEmbeddedInstanceOf()方法的一些代码示例,展示了STGroup.getEmbeddedInstanceOf()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。STGroup.getEmbeddedInstanceOf()方法的具体详情如下:
包路径:org.stringtemplate.v4.STGroup
类名称:STGroup
方法名:getEmbeddedInstanceOf

STGroup.getEmbeddedInstanceOf介绍

暂无

代码示例

代码示例来源:origin: org.antlr/stringtemplate

void super_new(ST self, String name, int nargs) {
  ST st = null;
  CompiledST imported = self.impl.nativeGroup.lookupImportedTemplate(name);
  if ( imported==null ) {
    errMgr.runTimeError(this, self, current_ip, ErrorType.NO_IMPORTED_TEMPLATE,
              name);
    st = self.groupThatCreatedThisInstance.createStringTemplateInternally(new CompiledST());
  }
  else {
    st = imported.nativeGroup.getEmbeddedInstanceOf(this, self, current_ip, name);
    st.groupThatCreatedThisInstance = group;
  }
  // get n args and store into st's attr list
  storeArgs(self, nargs, st);
  sp -= nargs;
  operands[++sp] = st;
}

代码示例来源:origin: antlr/stringtemplate4

void super_new(InstanceScope scope, String name, int nargs) {
  final ST self = scope.st;
  ST st = null;
  CompiledST imported = self.impl.nativeGroup.lookupImportedTemplate(name);
  if ( imported==null ) {
    errMgr.runTimeError(this, scope, ErrorType.NO_IMPORTED_TEMPLATE,
              name);
    st = self.groupThatCreatedThisInstance.createStringTemplateInternally(new CompiledST());
  }
  else {
    st = imported.nativeGroup.getEmbeddedInstanceOf(this, scope, name);
    st.groupThatCreatedThisInstance = group;
  }
  // get n args and store into st's attr list
  storeArgs(scope, nargs, st);
  sp -= nargs;
  operands[++sp] = st;
}

代码示例来源:origin: io.virtdata/virtdata-lib-realer

void super_new(InstanceScope scope, String name, int nargs) {
  final ST self = scope.st;
  ST st = null;
  CompiledST imported = self.impl.nativeGroup.lookupImportedTemplate(name);
  if ( imported==null ) {
    errMgr.runTimeError(this, scope, ErrorType.NO_IMPORTED_TEMPLATE,
              name);
    st = self.groupThatCreatedThisInstance.createStringTemplateInternally(new CompiledST());
  }
  else {
    st = imported.nativeGroup.getEmbeddedInstanceOf(this, scope, name);
    st.groupThatCreatedThisInstance = group;
  }
  // get n args and store into st's attr list
  storeArgs(scope, nargs, st);
  sp -= nargs;
  operands[++sp] = st;
}

代码示例来源:origin: jsevellec/cassandra-unit

void super_new(InstanceScope scope, String name, int nargs) {
  final ST self = scope.st;
  ST st = null;
  CompiledST imported = self.impl.nativeGroup.lookupImportedTemplate(name);
  if ( imported==null ) {
    errMgr.runTimeError(this, scope, ErrorType.NO_IMPORTED_TEMPLATE,
              name);
    st = self.groupThatCreatedThisInstance.createStringTemplateInternally(new CompiledST());
  }
  else {
    st = imported.nativeGroup.getEmbeddedInstanceOf(this, scope, name);
    st.groupThatCreatedThisInstance = group;
  }
  // get n args and store into st's attr list
  storeArgs(scope, nargs, st);
  sp -= nargs;
  operands[++sp] = st;
}

代码示例来源:origin: org.antlr/ST4

void super_new(InstanceScope scope, String name, int nargs) {
  final ST self = scope.st;
  ST st = null;
  CompiledST imported = self.impl.nativeGroup.lookupImportedTemplate(name);
  if ( imported==null ) {
    errMgr.runTimeError(this, scope, ErrorType.NO_IMPORTED_TEMPLATE,
              name);
    st = self.groupThatCreatedThisInstance.createStringTemplateInternally(new CompiledST());
  }
  else {
    st = imported.nativeGroup.getEmbeddedInstanceOf(this, scope, name);
    st.groupThatCreatedThisInstance = group;
  }
  // get n args and store into st's attr list
  storeArgs(scope, nargs, st);
  sp -= nargs;
  operands[++sp] = st;
}

代码示例来源:origin: apache/servicemix-bundles

void super_new(InstanceScope scope, String name, int nargs) {
  final ST self = scope.st;
  ST st = null;
  CompiledST imported = self.impl.nativeGroup.lookupImportedTemplate(name);
  if ( imported==null ) {
    errMgr.runTimeError(this, scope, ErrorType.NO_IMPORTED_TEMPLATE,
              name);
    st = self.groupThatCreatedThisInstance.createStringTemplateInternally(new CompiledST());
  }
  else {
    st = imported.nativeGroup.getEmbeddedInstanceOf(this, scope, name);
    st.groupThatCreatedThisInstance = group;
  }
  // get n args and store into st's attr list
  storeArgs(scope, nargs, st);
  sp -= nargs;
  operands[++sp] = st;
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

void super_new(InstanceScope scope, String name, int nargs) {
  final ST self = scope.st;
  ST st = null;
  CompiledST imported = self.impl.nativeGroup.lookupImportedTemplate(name);
  if ( imported==null ) {
    errMgr.runTimeError(this, scope, ErrorType.NO_IMPORTED_TEMPLATE,
              name);
    st = self.groupThatCreatedThisInstance.createStringTemplateInternally(new CompiledST());
  }
  else {
    st = imported.nativeGroup.getEmbeddedInstanceOf(this, scope, name);
    st.groupThatCreatedThisInstance = group;
  }
  // get n args and store into st's attr list
  storeArgs(scope, nargs, st);
  sp -= nargs;
  operands[++sp] = st;
}

代码示例来源:origin: antlr/antlr3

void super_new(InstanceScope scope, String name, int nargs) {
  final ST self = scope.st;
  ST st = null;
  CompiledST imported = self.impl.nativeGroup.lookupImportedTemplate(name);
  if ( imported==null ) {
    errMgr.runTimeError(this, scope, ErrorType.NO_IMPORTED_TEMPLATE,
              name);
    st = self.groupThatCreatedThisInstance.createStringTemplateInternally(new CompiledST());
  }
  else {
    st = imported.nativeGroup.getEmbeddedInstanceOf(this, scope, name);
    st.groupThatCreatedThisInstance = group;
  }
  // get n args and store into st's attr list
  storeArgs(scope, nargs, st);
  sp -= nargs;
  operands[++sp] = st;
}

代码示例来源:origin: org.antlr/stringtemplate

st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, self, ip, name);
ip += Bytecode.OPND_SIZE_IN_BYTES;
name = (String)operands[sp-nargs];
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, self, ip, name);
storeArgs(self, nargs, st);
sp -= nargs;
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, self, ip, name);

代码示例来源:origin: antlr/antlr3

st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
ip += Bytecode.OPND_SIZE_IN_BYTES;
name = (String)operands[sp-nargs];
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
storeArgs(scope, nargs, st);
sp -= nargs;
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);

代码示例来源:origin: antlr/stringtemplate4

st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
ip += Bytecode.OPND_SIZE_IN_BYTES;
name = (String)operands[sp-nargs];
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
storeArgs(scope, nargs, st);
sp -= nargs;
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);

代码示例来源:origin: jsevellec/cassandra-unit

st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
ip += Bytecode.OPND_SIZE_IN_BYTES;
name = (String)operands[sp-nargs];
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
storeArgs(scope, nargs, st);
sp -= nargs;
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);

代码示例来源:origin: org.antlr/ST4

st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
ip += Bytecode.OPND_SIZE_IN_BYTES;
name = (String)operands[sp-nargs];
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
storeArgs(scope, nargs, st);
sp -= nargs;
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);

代码示例来源:origin: io.virtdata/virtdata-lib-realer

st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
ip += Bytecode.OPND_SIZE_IN_BYTES;
name = (String)operands[sp-nargs];
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
storeArgs(scope, nargs, st);
sp -= nargs;
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
ip += Bytecode.OPND_SIZE_IN_BYTES;
name = (String)operands[sp-nargs];
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
storeArgs(scope, nargs, st);
sp -= nargs;
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);

代码示例来源:origin: apache/servicemix-bundles

st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
ip += Bytecode.OPND_SIZE_IN_BYTES;
name = (String)operands[sp-nargs];
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);
storeArgs(scope, nargs, st);
sp -= nargs;
st = self.groupThatCreatedThisInstance.getEmbeddedInstanceOf(this, scope, name);

相关文章

微信公众号

最新文章

更多