asttypeassignment.java
来自「ASN.1工具源代码,包括编译源码生成工具和各种基本类型构造类型的编解码实现代码」· Java 代码 · 共 43 行
JAVA
43 行
/* Generated By:JJTree: Do not edit this line. ASTTypeAssignment.java */package com.k_int.codec.comp;public class ASTTypeAssignment extends SimpleNode { public ASTtypereference typeref_node = null; public ASTGlobalType global_type = null; public ASTTypeAssignment(int id) { super(id); } public ASTTypeAssignment(AsnParser p, int id) { super(p, id); } public void pass1() { CodecBuilderInfo info = CodecBuilderInfo.getInfo(); System.err.print(" Type Assignment: "); int i, k = jjtGetNumChildren(); typeref_node = (ASTtypereference)jjtGetChild(0); global_type = (ASTGlobalType)jjtGetChild(1); String type_reference = typeref_node.typeref; // We need to register this new type.... // First off, figure out if it is a tagged type or not. if ( global_type.which == 1 ) // Make sure the type is not a MACRO { // Get hold of the type ASTType t = (ASTType) (global_type.jjtGetChild(0)); info.createTypeInfoFor(type_reference, t); } // LATER: else throw an exception }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?